Changeset - 55f261ea9866
[Not reviewed]
0 1 0
Tobias - 5 years ago 2019-01-18 08:40:24
tobiasschulmann@catalyst.net.nz
Fix last year's email
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vendor/registrasion/registrasion/views.py
Show inline comments
...
 
@@ -382,13 +382,13 @@ def edit_profile(request):
 
    '''
 

	
 
    if hasattr(request.user, "checkin"):
 
        if request.user.checkin.checked_in_bool:
 
            messages.add_message(
 
                request, messages.ERROR,
 
                'Profile cannot be edited. Please email boarding@lca2018.org '
 
                'Profile cannot be edited. Please email contact@lca2019.org '
 
                'if you need any changes to your profile.')
 
            return redirect(reverse('dashboard'))
 

	
 
    form, handled = _handle_profile(request, "profile")
 

	
 
    if handled and not form.errors:
0 comments (0 inline, 0 general)