Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Support for Custom User Model #14

Open
adilmalik393 opened this issue Jan 11, 2018 · 1 comment
Open

No Support for Custom User Model #14

adilmalik393 opened this issue Jan 11, 2018 · 1 comment

Comments

@adilmalik393
Copy link

I have custom user model and when i hit
./manage.py migrate.

It gives me following error.

deux.MultiFactorAuth.user: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out. HINT: Update the relation to point at 'settings.AUTH_USER_MODEL

I am assuming that this library doesn't support custom user model yet. Any idea how to do it.

@willjleongdv
Copy link

willjleongdv commented Jan 25, 2018

Here is temp workaround until Deux releases a next stable version.
use
git+git://github.com/robinhood/deux.git
in your requirements.txt and the most recent master branch will be installed that uses the django default user config rather than hardcoding a new custom user.

View #8 for reference

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

No branches or pull requests

2 participants