2016-05-10 20:20:01 +00:00
|
|
|
from django.conf.urls import url
|
2016-05-12 16:20:31 +00:00
|
|
|
from views import *
|
2016-05-10 20:20:01 +00:00
|
|
|
|
|
|
|
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'),
|
2016-05-13 06:36:56 +00:00
|
|
|
url(r'products/(?P<pk>[0-9]+)/$', ProductDetailView.as_view(), name='product_detail'),
|
2016-05-12 07:51:35 +00:00
|
|
|
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'),
|
2016-05-10 20:20:01 +00:00
|
|
|
]
|