Only show guest option on login page when ordering

This commit is contained in:
Raphael Michel
2015-09-29 00:11:14 +02:00
parent 033cea47be
commit 082e43321c
4 changed files with 28 additions and 27 deletions

View File

@@ -34,7 +34,7 @@ def login_or_guest_required(view_func):
path, reverse('presale:event.checkout.login', kwargs={
'organizer': request.event.organizer.slug,
'event': request.event.slug,
}), 'next'
}) + '?guest=1', 'next'
)
return _wrapped_view