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

error on migrate in the provided example #49

Open
brutus opened this issue Apr 23, 2015 · 0 comments
Open

error on migrate in the provided example #49

brutus opened this issue Apr 23, 2015 · 0 comments

Comments

@brutus
Copy link

brutus commented Apr 23, 2015

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).
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

1 participant