Runtime error

59 views
Skip to first unread message

sakkhar saha

unread,
Nov 8, 2017, 3:50:12 PM11/8/17
to Django developers (Contributions to Django itself)
RuntimeError: Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Please Solve This Error.


Aymeric Augustin

unread,
Nov 8, 2017, 3:56:50 PM11/8/17
to django-d...@googlegroups.com
Hello,

You didn't provide any context; there's no way anyone can help you without additional information.

Furthermore this mailing list is dedicated to the development of Django itself. It isn't for help about using Django.

Please see https://docs.djangoproject.com/en/stable/faq/help/ for ways to get help.

Thanks.

-- 
Aymeric.



On 8 Nov 2017, at 21:36, sakkhar saha <sakkhar....@gmail.com> wrote:

RuntimeError: Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Please Solve This Error.



--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/76dc23c5-b670-4a23-81aa-1d6b75adab67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jonas H

unread,
Nov 9, 2017, 4:28:56 PM11/9/17
to Django developers (Contributions to Django itself)
Not sure if this is what's meant by the first post, but I got very confused the other day by the ./runtests.py script:

If you run ./runtests.py ../tests/foo, it crashes with all sorts of "X doesn't declare explicit app label" exceptions.

If you run ./runtests.py foo, it works.

Not sure why I even used the first invocation, though.
Reply all
Reply to author
Forward
0 new messages