diff --git a/shop/urls.py b/shop/urls.py index c86f9a96..23581cac 100644 --- a/shop/urls.py +++ b/shop/urls.py @@ -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[a-zA-Z0-9\-]+)/$', ProductDetailView.as_view(), name='product_detail'), url(r'orders/(?P[0-9]+)/$', OrderDetailView.as_view(), name='order_detail'), url(r'orders/(?P[0-9]+)/checkout/$', CheckoutView.as_view(), name='checkout'),