omab / django-social-auth

Django social authentication made simple
https://groups.google.com/group/django-social-auth
BSD 3-Clause "New" or "Revised" License
2.65k stars 756 forks source link

Custom user model name #742

Closed panchicore closed 11 years ago

panchicore commented 11 years ago

AUTH_USER_MODEL Model cant be "User". For example my AUTH_USER_MODEL was "accounts.User" and django-social-auth was trying to create the user in auth_user, but changed to "accounts.AppUser" and worked.

omab commented 11 years ago

Using User as model name works as expected, DSA doesn't try the auth_user table. Could you share your models.py? Maybe your imports were importing the User model built-in in django auth application.