Hello list! I'm trying to run my tests and I have these error. In a config.py file I'm doing this:
from django.contrib.contenttypes.models import ContentType ContentType.objects.get_for_model(model=MyModel) And when I run the tests, this error apears, and only with tests. I'm including contrib.contenttypes to my INSTALLED_APPS. I did syncdb and migrate. So, I cannot see where the problem is. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/4d78e325-dd2e-4d3a-8dd9-43fa645ec90d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.