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 | ||||
| 
 | ||||
|     if request.method == "POST" and request.user.is_authenticated(): | ||||
|         if not hasattr(request.user, "profile") or not request.user.profile.is_complete: | ||||
|             response = redirect("profile_edit") | ||||
|         if not hasattr(request.user, "attendee") or not request.user.attendee.completed_registration: | ||||
|             response = redirect("guided_registration") | ||||
|             response["Location"] += "?next=%s" % request.path | ||||
|             return response | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer