Update views.py

This commit is contained in:
James Polley 2018-01-21 00:48:00 +00:00
parent e59d8d5cd6
commit 3b0d9bf23a

View file

@ -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")