Include mainsite
's urlpatterns
This commit is contained in:
parent
10f29d8264
commit
f8d6be1c25
2 changed files with 9 additions and 3 deletions
|
@ -1,7 +1,9 @@
|
|||
from django.conf.urls import url
|
||||
from .views import YearView
|
||||
from . import views
|
||||
|
||||
app_name = 'manisite'
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^(?P<year>\d{4})-(?P<nYear>\d{4})/',
|
||||
YearView.as_view(), name='year_view'),
|
||||
views.YearView.as_view(), name='year_view'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue