L
L
leha782016-02-11 18:06:59
Django
leha78, 2016-02-11 18:06:59

Site has no settings. How to fix the error?

There is a new project. I connected a third-party app (it seems that all connected apps require the presence of a site in the django_site table) I entered
127.0.0.1:8000 with ID 1 into the table I
specified SITE_ID = 1 in settings.py (and tried SITE_ID = '1' this way) I
launch the site, writes
Request URL : 127.0.0.1:8000/admin
Django Version: 1.9.2
Exception Type: RelatedObjectDoesNotExist
Exception Value: Site has no settings.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question