id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 3710,django won't test a views-only app,yary h ,Jacob,"My project includes an app which has views and tests, but no models. The django test runner used to run its tests just fine, but something changed during the last few weeks (don't know when, I haven't run tests on my app much lately.) Now when I test my project, it skips the views-only app (""qnr""), and if I try an explicit [[[manage.py --verbosity=2 test qnr]]] django complains:[[[ File ""C:\Python24\lib\site-packages\django-0.95-py2.4.egg\django\db\models\loading.py"", line 47, in get_app raise ImproperlyConfigured, ""App with label %s could not be found"" % app_label django.core.exceptions.ImproperlyConfigured: App with label qnr could not be found ]]] Digging into django/db/models/loading.py shows that it IS finding the app, but it has no models... and I can't just set it to true, because the callers are expecting a reference to the app's models. I'm going to have to create a dummy models.py to make the tests go as a temporary workaround, please think about a fix in the meantime...",,closed,Uncategorized,dev,,duplicate,,,Unreviewed,0,0,0,0,0,0