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

User mixin example is not clear #29

Open
motatoes opened this issue Oct 13, 2016 · 1 comment
Open

User mixin example is not clear #29

motatoes opened this issue Oct 13, 2016 · 1 comment

Comments

@motatoes
Copy link

Adding the mixin to the User model is not clear to me as a django newbie:

  • Does it need to be in a custom Auth app in my project?
  • Do I need to alter the AUTH_USER_MODEL in the settings.py file?
  • Also do I need to perform migrations after this step?

I think this part could be made more clear in the docs.

@mdamien
Copy link
Collaborator

mdamien commented Oct 13, 2016

If you're defining a custom auth model like in the third step, yes, you should add it to AUTH_USER_MODEL. But if you don't already have a custom User model, you can also skip this step as said in the doc.

You're gonna need to migrate after adding simple_email_confirmation since this app has it's own models.

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