17👍
✅
From http://docs.djangoproject.com/en/dev/ref/contrib/sites/#ref-contrib-sites
The SITE_ID setting specifies the database ID of the Site object associated with that particular settings file.
So, check the django_site table and make sure you are using the correct SITE_ID for your site.
0👍
after adding sites
framework, first you need python manage.py migrate
then you only need to add SITE_ID=1
in settings.py
.
- How do I reply to an email using the Python imaplib and include the original message?
- Display query string values in django templates
- Can't login to Django /admin interface
- Django REST Framework: Validate before a delete
- Python-social-auth with Django: ImportError: No module named 'social_django'
Source:stackexchange.com