You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
heysamtexas
changed the title
force lowercase when saving urls
force lowercase (on domain) when saving urls
Feb 7, 2020
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
The text was updated successfully, but these errors were encountered: