Update views.py
This commit is contained in:
		
							parent
							
								
									e59d8d5cd6
								
							
						
					
					
						commit
						3b0d9bf23a
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								vendor/registrasion/registrasion/views.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/registrasion/registrasion/views.py
									
										
									
									
										vendored
									
									
								
							|  | @ -378,7 +378,8 @@ def edit_profile(request): | |||
|         if request.user.checkin.checked_in_bool: | ||||
|             messages.add_message( | ||||
|                 request, messages.ERROR, | ||||
|                 'Profile cannot be edited as you have been checked in') | ||||
|                 'Profile cannot be edited. Please email boarding@lca2018.org ' | ||||
|                 'if you need any changes to your profile.') | ||||
|             return redirect(reverse('dashboard')) | ||||
| 
 | ||||
|     form, handled = _handle_profile(request, "profile") | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Polley
						James Polley