[Fixed]-Django CMS malfunction: Site matching query does not exist

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.

👤dr-jan

0👍

after adding sites framework, first you need python manage.py migrate then you only need to add SITE_ID=1 in settings.py.

👤Salman

Leave a comment