20 lines
635 B
Python
20 lines
635 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>[a-zA-Z0-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'),
|
|
]
|