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