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
If an user login using different services (Google, Twitter, etc) and the user has the same username for at least two, Django raises an IntegrityError exception because it try to create more than one django account with the same username.
If an user login using different services (Google, Twitter, etc) and the user has the same username for at least two, Django raises an IntegrityError exception because it try to create more than one django account with the same username.
I pasted a debug page example below:
Environment:
Request Method: GET
Request URL: http://www.erwinfeser.com.ar/...
Django Version: 1.2.3
Python Version: 2.6.5
Installed Applications:
['tinymce',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'feserwin.erwinsite',
'feserwin.teg7',
'social_auth']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.csrf.CsrfResponseMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response
Exception Type: IntegrityError at /site/social-auth/complete/google/
Exception Value: (1062, "Duplicate entry 'ErwinFeser' for key 'username'")
The text was updated successfully, but these errors were encountered: