12 lines
484 B
Python
12 lines
484 B
Python
from django.conf.urls import url
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.HomeView.as_view(), name='homepage'),
|
|
url(r'^ecrire$', views.WriteArticleView.as_view(), name='write_article'),
|
|
url(r'^speciaux/', views.SpecialPublicationsView.as_view(),
|
|
name='special_publications'),
|
|
url(r'^(?P<year>\d{4})-(?P<nYear>\d{4})/',
|
|
views.YearView.as_view(), name='year_view'),
|
|
url(r'^latest$', views.latestPublication, name='latestPublication'),
|
|
]
|