-
Notifications
You must be signed in to change notification settings - Fork 815
Description
Seems that something is bothering Django 1.8b1 when applying migrations on PostgreSQL, even on a fresh django project without any apps (or any fancy stuff with custom models). Just create a new django project, add oauth2_provider to the installed apps and run "python manage.py test" to trigger it.
I've created a simple project that reproduces it here: http://cl.ly/3e1b0B1g0n2J (make sure you create a PostgreSQL db as per settings.py)
I should note that when I remove oauth2_provider from my installed apps, do the first migration (so that the auth_user table is created), put it back in installed apps and do another migration - then it works fine since auth_user table is created beforehand. Running tests, however, creates everything at once so it always triggers this problem and I'm unable to run any tests.
Environment: Django 1.8b1, django-oauth-toolkit 0.7.2, Python 3.4
Anyone knows if this is a Django 1.8 problem perhaps?