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

RuntimeErorr on the very first migration #88

Closed
vleong2332 opened this issue Jul 24, 2016 · 2 comments · Fixed by #89
Closed

RuntimeErorr on the very first migration #88

vleong2332 opened this issue Jul 24, 2016 · 2 comments · Fixed by #89
Labels

Comments

@vleong2332
Copy link
Contributor

vleong2332 commented Jul 24, 2016

When running the first migration after installing, this error was thrown:

RuntimeError: Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in a
n application in INSTALLED_APPS.

I had to add django.contrib.sites to the INSTALLED_APPS and set SITE_ID = 1 in settings.py.

Is this related to #69?

@pd-Shah
Copy link

pd-Shah commented Jul 17, 2019

I have the same issue

@KatherineMichel
Copy link
Member

@pd-Shah Were you able to fix it using the guidance that was added to the README in this PR? https://github.com/pinax/pinax-blog/pull/89/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants