-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Django 1.7 warning - You have unapplied migrations #426
Comments
@mtirsel I'm experiencing something similar, in that running
Yep, that's right, it just drops all the models, which implies:
or
Does your experience match this, @mtirsel? Does your 0002 (in site-packages/social/migrations) look like mine? Cheers |
Update (and partic one for @omab), I just forked p-s-a and...
I'm going to ride with our fork for a while (https://github.com/yunojuno/python-social-auth/) before offering up a PR, but if you agree that it make sense, @omab, let me know and I'll issue a PR. Cheers |
Any progress? This is causing a lot of problems in automated builds/deployments and is easy to fix. |
See above pull request. The fix was to remove the |
Current migration for Django 1.7 is missing related_name argument for the UserSocialAuth.user field. If calling makemigrations command, this creates migration 0002 in social default app. AFAIK related_name shouldn't do any changes in database, so it should be safe to just add related_name=b'social_auth' argument to the CreateModel fields in 0001_initial.py.
The text was updated successfully, but these errors were encountered: