On zondag 29 juli 2018 14:07:19 CEST Kasper Laudrup wrote:
> On 2018-07-29 10:27, lalitaquasoft wrote:
> > How to remove Unique username
>
> How would you expect user management to work if usernames are not unique?
By using split fields. I've ran into this as well, as I want to allow the same
username per different domain - ya know, like emails.
I ended up with a choice to duplicate the data as a single database field or
ditch django.contrib.auth. I went for solving the problem at the form level
and not storing the username / domain in the custom user model, but storing it
as an email field that had to be unique.
--
Melvyn Sopacua