Skip to content

Instantly share code, notes, and snippets.

@euoia
Created May 11, 2018 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save euoia/796531f9f4e301ec1a9af18ff70cfb68 to your computer and use it in GitHub Desktop.
Save euoia/796531f9f4e301ec1a9af18ff70cfb68 to your computer and use it in GitHub Desktop.
Overriding error message not working
email = models.EmailField(_("The Candidate's email address"),
max_length=255, unique=True, error_messages={'invalid': 'xxx.'})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment