Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
Htin Aung Linn
Programming language:
Shell/Bash
2021-05-02 05:14:57
1
Q:
Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
sanket
Code:
Shell/Bash
2021-02-09 01:26:28
Just add 'django.contrib.sites', to INSTALLED_APPS and set SITE_ID = 1 in your settings.py file.
3
Tags
app
class
con
install
declare
model
label
New to Communities?
Join the community