Wednesday, March 16, 2016

Re: The way to remove UNIQUE of username field, user_auth table

usernames should be unique. that is common sense

You should somehow differentiate one user from the other using his email address as username for example. this is a common approach you may have seen sometimes in the past.


2016-03-16 11:37 GMT+00:00 <toyamalee3@gmail.com>:
Hi.
I have a question.

I use python-social-auth.
When I registered my facebook account on my APP, username field of user_auth got my name like "johnlennon".
But it is said that username has to be UNIQUE.
So, if someone who also has the name, johnlennon, the person cannot sigh up my APP.
I tried to remove UNIQUE property through Agminer but it was prohibited.
How can I register users who have same names ?

Thank you.

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/1cca0666-b5d4-4089-8ab3-7d96ddf4782b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
monoBOT
Visite mi sitio(Visit my site): monobotsoft.es/blog/

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CA%2BxOsGBJhvoHUxr6f3CgRbEC8uHy%3DzmnJeCeuhRdwc9ajh0N8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment