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 = [
|
2016-05-16 13:31:37 +00:00
|
|
|
url(r'orders/(?P<pk>[0-9]+)/pay/creditcard/$', EpayFormView.as_view(), name='epay_form'),
|
2016-05-16 13:25:12 +00:00
|
|
|
url(r'epay_callback/', EpayCallbackView.as_view(), name='epay_callback'),
|
2016-05-14 14:26:02 +00:00
|
|
|
url(r'^$', ShopIndexView.as_view(), name='index'),
|
2016-05-15 22:09:00 +00:00
|
|
|
url(r'products/(?P<slug>[-_\w+]+)/$', ProductDetailView.as_view(), name='product_detail'),
|
|
|
|
url(r'orders/$', OrderListView.as_view(), name='order_list'),
|
2016-05-12 07:51:35 +00:00
|
|
|
url(r'orders/(?P<pk>[0-9]+)/$', OrderDetailView.as_view(), name='order_detail'),
|
2016-05-15 22:09:00 +00:00
|
|
|
# url(r'orders/(?P<pk>[0-9]+)/checkout/$', CheckoutView.as_view(), name='checkout'),
|
2016-05-10 20:20:01 +00:00
|
|
|
]
|