I recommend :* DON'T,* because it is by default UserIdentifier, It is used 
to make UserLogins and you have to override a lot of builtIns to achieve 
what you are trying to do.
 

But if you still want to:

`username` validator is defined in AbstractUser Class, and inheritence flow 
is like: 

AbstractUser -> User

i believe only way to overide this validation is to create a Proxy Model


Discussion here: 
https://groups.google.com/forum/#!topic/django-developers/rb7v9kVAK3I




On Sunday, July 29, 2018 at 5:14:23 PM UTC+5:30, lalitaquasoft wrote:
>
> IntegrityError at /register/
>
> UNIQUE constraint failed: superuser_user.username 
>
>
>
> How to remove Unique username 
>
>

-- 
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/9405b6fd-afb1-439e-83f5-e26cb749932f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to