www-bocal/mainsite/urls.py

10 lines
195 B
Python
Raw Normal View History

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
app_name = 'manisite'
2017-09-21 14:00:10 +02:00
urlpatterns = [
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-21 14:00:10 +02:00
]