Cart expiry handling, checkout link

This commit is contained in:
Raphael Michel
2015-02-14 23:53:39 +01:00
parent 93aeda0bdb
commit 38e313c886
5 changed files with 77 additions and 8 deletions

View File

@@ -2,6 +2,8 @@ from django.conf.urls import patterns, url, include
import pretix.presale.views.event
import pretix.presale.views.cart
import pretix.presale.views.checkout
urlpatterns = patterns(
'',
@@ -11,6 +13,7 @@ urlpatterns = patterns(
url(r'^$', pretix.presale.views.event.EventIndex.as_view(), name='event.index'),
url(r'^cart/add$', pretix.presale.views.cart.CartAdd.as_view(), name='event.cart.add'),
url(r'^cart/remove$', pretix.presale.views.cart.CartRemove.as_view(), name='event.cart.remove'),
url(r'^checkout$', pretix.presale.views.checkout.CheckoutStart.as_view(), name='event.checkout.start'),
)
)),
)