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

Migrations fail if AUTH_USER_MODEL is not set to auth.User #5

Closed
danielsamuels opened this issue Mar 15, 2014 · 1 comment
Closed

Comments

@danielsamuels
Copy link

Hello,

The project itself allows for different User models to be used (inline with the changes made in Django 1.5), however the default migration file assumes that you are using auth.User and so running migrate on a project without django.contrib.auth in INSTALLED_APPS will cause the migrate to fail.

The issue itself can be plainly seen in this file: https://github.com/Bouke/django-user-sessions/blob/master/user_sessions/migrations/0001_initial.py#L16

Thanks,
Daniel.

@Bouke Bouke closed this as completed in d9d3cec Mar 23, 2014
@Bouke
Copy link
Collaborator

Bouke commented Mar 23, 2014

I've pushed a fix for this issue, can you confirm that the migrations have been fixed now?

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