bornhack-website/program/urls.py

9 lines
328 B
Python
Raw Normal View History

2016-07-13 17:13:47 +00:00
from django.conf.urls import url
2016-08-07 13:49:30 +00:00
from . import views
2016-07-13 17:13:47 +00:00
urlpatterns = [
2016-08-07 13:49:30 +00:00
url(r'^(?P<slug>[-_\w+]+)/$', views.EventDetailView.as_view(), name='event'),
url(r'^(?P<year>\d{4})-(?P<month>\d{2})-(?P<day>\d{2})$', views.ProgramDayView.as_view(), name='day'),
url(r'^$', views.ProgramOverviewView.as_view(), name='index'),
2016-07-13 17:13:47 +00:00
]