screenshots
screenshots copied to clipboard
force lowercase (on domain) when saving urls
override the save() method on the model to force lowercase
then perhaps for the sake of learning make a custom migration which does the same
this is incorrect. only the domain should be lowercase.
in any case (no pun intended), the uniqueness should only be on an index based on the lowercase-ness of everthing. I know postgres can do it, but I am not sure if the djano orm can handle that.
Use postgres model field type CIText and call it done