2017-09-21 14:00:10 +02:00
|
|
|
from django.conf.urls import url
|
2017-09-21 19:01:47 +02:00
|
|
|
from . import views
|
|
|
|
|
2017-09-21 14:00:10 +02:00
|
|
|
urlpatterns = [
|
2017-09-22 13:44:36 +02:00
|
|
|
url(r'^$', views.HomeView.as_view(), name='homepage'),
|
|
|
|
url(r'^ecrire$', views.WriteArticleView.as_view(), name='write_article'),
|
2017-09-22 19:03:43 +02:00
|
|
|
url(r'^speciaux/', views.SpecialPublicationsView.as_view(),
|
|
|
|
name='special_publications'),
|
2017-09-21 14:00:10 +02:00
|
|
|
url(r'^(?P<year>\d{4})-(?P<nYear>\d{4})/',
|
2017-09-21 19:01:47 +02:00
|
|
|
views.YearView.as_view(), name='year_view'),
|
2017-09-24 19:11:08 +02:00
|
|
|
url(r'^latest$', views.latestPublication, name='latestPublication'),
|
2017-09-21 14:00:10 +02:00
|
|
|
]
|