File diff 31041cc6de16 → dd6aaf9b285c
pinaxcon/views.py
Show inline comments
...
 
@@ -32,9 +32,13 @@ class EmailLoginView(LoginView):
 

	
 

	
 
def buy_ticket(request):
 

	
 
    print(dir(request.user))
 
    if not request.user.is_authenticated():
 
        messages.warning(request, 'To buy a ticket, either create an account, or log in.')
 
        messages.warning(request,
 
            '''To buy a ticket, either create an account, or log in.
 
            Attendees should fill out their own registration.
 
            You will receive a payment link that you can pass to accounts
 
            staff, if required. ''')
 

	
 
    return redirect("/dashboard")