email -> e-mail

This commit is contained in:
Jonas Havelka 2021-08-04 18:33:33 +02:00
parent d13b2a6552
commit ea1d87909c

View file

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