With this explanation of implementing a custom user model in django there is the inclusion of error_messages{...} dictionary.
Where does 'unique' come from? Where can I find a comprehensive list of the possible options?
I have looked at the documentation for built-in field classes here and I have looked in the appropriate fields.py file on github which says EmailField inherits from CharField, which in turn inherits from base Field class. None of these mention 'unique' as a possible key in the dictionary so I'm really confused as to why you can define it.