You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to take a look at the example. I cloned the repo, created a new virtualenv (Python 3.4, Django 1.8) and started the example with python manage.py runserver… it runs, but I forget to install the migrations. When I tried to apply them with python manage.py migrate I get the following error:
django.db.utils.OperationalError: Problem installing fixture '/home/…/example/project/md/fixtures/initial_data.json': Could not load auth.Permission(pk=1): no such table: auth_permission
If I run the migrations without fixtures first: python manage.py migrate --no-initial-data and after that, run it again with fixtures: python manage.py migrate it seems to work. Despite Django raising an warning RemovedInDjango19Warning because of the fixtures, it looks like they are loaded fine (got the root user).
But now I get 403 on previews when i hit the button on the example page? Don't know if it's related though.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11872896-error-on-migrate-in-the-provided-example?utm_campaign=plugin&utm_content=tracker%2F332251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332251&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
I just tried to take a look at the example. I cloned the repo, created a new virtualenv (Python 3.4, Django 1.8) and started the example with
python manage.py runserver
… it runs, but I forget to install the migrations. When I tried to apply them withpython manage.py migrate
I get the following error:django.db.utils.OperationalError: Problem installing fixture '/home/…/example/project/md/fixtures/initial_data.json': Could not load auth.Permission(pk=1): no such table: auth_permission
If I run the migrations without fixtures first:
python manage.py migrate --no-initial-data
and after that, run it again with fixtures:python manage.py migrate
it seems to work. Despite Django raising an warningRemovedInDjango19Warning
because of the fixtures, it looks like they are loaded fine (got the root user).But now I get 403 on previews when i hit the button on the example page? Don't know if it's related though.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11872896-error-on-migrate-in-the-provided-example?utm_campaign=plugin&utm_content=tracker%2F332251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332251&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: