bornhack-website/tickets/urls.py

14 lines
351 B
Python
Raw Normal View History

2016-05-06 20:33:59 +00:00
from django.conf.urls import url
from .views import BuyTicketView, TicketIndexView, TicketDetailView
urlpatterns = [
url(r'buy/$', BuyTicketView.as_view(), name='buy'),
url(
r'detail/(?P<pk>[a-zA-Z0-9\-]+)/$',
TicketDetailView.as_view(),
name='detail'
),
url(r'$', TicketIndexView.as_view(), name='index'),
]