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