I wanted to write a test for an app, that does not have a models.py itself.
Doing so I get:
django.core.exceptions.ImproperlyConfigured: App with label service could not be found
if I create a models.py with just a "pass" in it everything works as expected.
I use Django 1.1
Is this a bug or a feature? Did not find any hint on this in the docs.
Not sure how I would classify it, but there is a ticket open for it:
http://code.djangoproject.com/ticket/7198
The workaround is pretty simple, though, so I would guess that is why it has not gotten much attention.
Karen
--
http://tracey.org/kmt/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment