"Anil Singh" <seobeanilsi...@gmail.com> writes:
Hi Friends,I am merging tow one project to another project, also install app in settings.py, but i error : RuntimeError: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
I suspect the clue is right there in the error message.The model is probably being imported into a script being executed early, but django.contrib.contenttypes is either missing from INSTALLED_APPS or the contenttypes app is not yet "ready". If it is there, make sure the punctuation around it is valid (commas etc). It may also be related to the order of apps in the INSTALLED_APPS array althought I am not sure if that is an issue with contemporary Django anymore.
Regards, /d -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/emdf667867-404f-48de-8c33-2e231fbd5665%405ae6308e.com.
pgp_kitKyhsFd.pgp
Description: PGP signature