email -> e-mail
This commit is contained in:
parent
d13b2a6552
commit
ea1d87909c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue