Browse Source

email -> e-mail

middleware_test
Jonas Havelka 3 years ago
parent
commit
ea1d87909c
  1. 2
      seminar/forms.py

2
seminar/forms.py

@ -115,7 +115,7 @@ class PrihlaskaForm(forms.Form):
Osoba.objects.get(email=email) Osoba.objects.get(email=email)
msg = "Email {} exists".format(email) msg = "Email {} exists".format(email)
err_logger.info(msg) err_logger.info(msg)
raise forms.ValidationError('Email je již použit') raise forms.ValidationError('E-mail je již použit')
except ObjectDoesNotExist: except ObjectDoesNotExist:
pass pass

Loading…
Cancel
Save