I was getting a similar error, but instead of complaining about the model in my applications, he complained about the model in contrib packages. For example:
C: \ Program Files \ Python 2.7 \ lib \ site-packages \ django \ contrib \ sessions \ models.py: 27: RemovedInDjango19Warning: the django.contrib.sessions.models.Session model class does not declare an explicit app_label line and either is not in INSTALLED_APPS application, or was imported before its application was downloaded. This will no longer be supported in Django 1.9. class Session (models.Model):
This is caused by incorrect ordering in the INSTALLED_APPS property in settings.py . My settings.py originally contained:
INSTALLED_APPS = ( 'my_app_1', 'my_app_2', 'my_app_3', 'bootstrap_admin', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'social.apps.django_app.default', 'mathfilters', 'rest_framework', )
my_app_* use models from contrib packages. The error is caused by the use of models before they are declared (i.e. Django needs to know about applications containing these models before ).
To solve this problem, you need to change the order in which applications are declared. In particular, all Django applications should appear in front of user applications . In my case, the correct INSTALLED_APPS will look like this:
INSTALLED_APPS = ( 'bootstrap_admin', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'social.apps.django_app.default', 'mathfilters', 'rest_framework', 'my_app_1', 'my_app_2', 'my_app_3', )
Now I know that this may not directly answer your question, but it answers the related one, and since this is the only SO link that appears on Google when I insert an error, I answered it here.
However , I believe that a similar situation causes your problem:
Make sure you declare “dependency” applications before applications using them! . Errors do not determine which application uses the model, so you will need to click on the application containing the model it mentions the top, one by one, until the error disappears.