Skip to content

Added support for django custom user with no 'username' field#10

Merged
omab merged 1 commit intoomab:masterfrom
jgsogo:master
May 21, 2013
Merged

Added support for django custom user with no 'username' field#10
omab merged 1 commit intoomab:masterfrom
jgsogo:master

Conversation

@jgsogo
Copy link
Copy Markdown
Contributor

@jgsogo jgsogo commented May 20, 2013

Hi,

I come accross this issue today while working with a custom user model on django 1.5. Code from psa was failing when there was no field named "username". I think this pull request can solve this issue in a backwards compatible way.

MongoEngine: I've never work with it, don't know if the same changes should be included.
DSA: If you want me to, tomorrow I write the solution also for django-social-auth.

Thanks for your work!

omab added a commit that referenced this pull request May 21, 2013
Added support for django custom user with no 'username' field
@omab omab merged commit 210e3fa into omab:master May 21, 2013
@omab
Copy link
Copy Markdown
Owner

omab commented May 21, 2013

Thanks for the fix, DSA already has a solution for this issue which I didn't had time to sit and port to PSA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants