bornhack-website/shop/urls.py
Thomas Steen Rasmussen b942d674ef more work on shop
2016-05-13 08:36:56 +02:00

20 lines
626 B
Python

from django.conf.urls import url
from views import *
urlpatterns = [
#url(
#r'pay/credit_card/(?P<ticket_id>[a-zA-Z0-9\-]+)/$',
#EpayView.as_view(),
#name='epay_form'
#),
#url(
#r'epay_callback/',
#EpayCallbackView,
#name='epay_callback'
#),
url(r'$', ShopIndexView.as_view(), name='index'),
url(r'products/(?P<pk>[0-9]+)/$', ProductDetailView.as_view(), name='product_detail'),
url(r'orders/(?P<pk>[0-9]+)/$', OrderDetailView.as_view(), name='order_detail'),
url(r'orders/(?P<pk>[0-9]+)/checkout/$', CheckoutView.as_view(), name='checkout'),
]