7 lines
174 B
Python
7 lines
174 B
Python
from django.conf.urls import url
|
|
from .views import YearView
|
|
|
|
urlpatterns = [
|
|
url(r'^(?P<year>\d{4})-(?P<nYear>\d{4})/',
|
|
YearView.as_view(), name='year_view'),
|
|
]
|