Login is mandatory for adding things to a card

This commit is contained in:
Raphael Michel
2015-02-17 23:27:43 +01:00
parent c827579a8e
commit 54b494890e
8 changed files with 418 additions and 40 deletions

View File

@@ -4,10 +4,10 @@ from django.shortcuts import redirect
from django.views.generic import View
from django.utils.translation import ugettext_lazy as _
from pretix.presale.views import EventViewMixin, CartDisplayMixin
from pretix.presale.views import EventViewMixin, CartDisplayMixin, EventLoginRequiredMixin
class CheckoutStart(EventViewMixin, CartDisplayMixin, View):
class CheckoutStart(EventViewMixin, CartDisplayMixin, EventLoginRequiredMixin, View):
def get_failure_url(self):
return reverse('presale:event.index', kwargs={