Volunteers need to have a ticket before they can apply to volunteer.
This commit is contained in:
parent
ae9f1e0b67
commit
b783901e98
1 changed files with 2 additions and 2 deletions
|
@ -350,8 +350,8 @@ def session_detail(request, session_id):
|
||||||
runner_denied = True
|
runner_denied = True
|
||||||
|
|
||||||
if request.method == "POST" and request.user.is_authenticated():
|
if request.method == "POST" and request.user.is_authenticated():
|
||||||
if not hasattr(request.user, "profile") or not request.user.profile.is_complete:
|
if not hasattr(request.user, "attendee") or not request.user.attendee.completed_registration:
|
||||||
response = redirect("profile_edit")
|
response = redirect("guided_registration")
|
||||||
response["Location"] += "?next=%s" % request.path
|
response["Location"] += "?next=%s" % request.path
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue