I have an app with an initial data fixture on Django 1.8. When I run manage.py migrate, I get the following output:
Operations to perform:
Synchronize unmigrated apps: food, locations, messages, staticfiles, core
Apply all migrations: auth, sessions, admin, contenttypes
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
/home/myuser/venv/lib/python3.4/site-packages/django/core/management/commands/loaddata.py:229: RemovedInDjango19Warning: initial_data fixtures are deprecated. Use data migrations instead.
RemovedInDjango19Warning
Installed 87 object(s) from 1 fixture(s)
Running migrations:
No migrations to apply.
So it seems like the fixture was installed, but not really - when I log in to my postgres user and run psql and \dt, no tables are listed (I make sure to connect to the database first with \c mydatabase)! When trying to view the app in a browser, I get: ProgrammingError at / relation "locations_openinghours" does not exist. (Which just happens to be the first table that the app tries to access).
python manage.py makemigrationsbefore runningpython manage.py migrate?No changes detected. There are no folders called migrations anywhere in my project (none were created).INSTALLED_APPSsection of your settings?