#15857 closed Uncategorized (duplicate)
contrib.contenttypes depends on contrib.auth
Description ¶
Currently it is not possible to successfully run test
on a site that has contenttypes but not django.contrib.auth installed. That's an a limiting dependency.
I suggest to add a line in the test suite of django.contrib.contenttypes:
... from django.contrib.auth.models import User if not User._meta.installed: return ## THE NEW LINE user_ct = ContentType.objects.get_for_model(User) ...
Note:
See TracTickets
for help on using tickets.
Patch against rev. 15796