fix index regex

This commit is contained in:
Thomas Steen Rasmussen 2016-05-14 16:26:02 +02:00
parent 1ecf55f70c
commit b55291fe8e

View file

@ -12,7 +12,7 @@ urlpatterns = [
#EpayCallbackView,
#name='epay_callback'
#),
url(r'$', ShopIndexView.as_view(), name='index'),
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'),