poulpe/event/urls.py

11 lines
348 B
Python
Raw Permalink Normal View History

from django.conf.urls import url
2018-08-26 21:18:51 +02:00
from event.views import Index, EventView, ActivityView
app_name = 'event'
urlpatterns = [
2018-08-26 21:18:51 +02:00
# 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'),
]