event base done
This commit is contained in:
parent
7ebc34d5aa
commit
7c7adab658
23 changed files with 478 additions and 27 deletions
|
@ -1,7 +1,10 @@
|
|||
from django.conf.urls import url
|
||||
from event.views import Index
|
||||
from event.views import Index, EventView, ActivityView
|
||||
|
||||
app_name = 'event'
|
||||
urlpatterns = [
|
||||
url(r'^$', Index.as_view(), name='index'),
|
||||
# url(r'^$', Index.as_view(), name='index'),
|
||||
url(r'^(?P<slug>[-\w]+)/$', EventView.as_view(), name='event'),
|
||||
url(r'^activity/(?P<pk>[0-9]+)/$', ActivityView.as_view(),
|
||||
name='activity'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue