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


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2157237.Hh3KulHEcb%40fritzbook.
For more options, visit https://groups.google.com/d/optout.

Reply via email to