We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2768f8 commit 04b5fb4Copy full SHA for 04b5fb4
polymorphic/utils.py
@@ -26,7 +26,7 @@ def reset_polymorphic_ctype(*models, **filters):
26
models = reversed(models)
27
28
for new_model in models:
29
- new_ct = ContentType.objects.db_manager(using).get_for_model(new_model)
+ new_ct = ContentType.objects.db_manager(using).get_for_model(new_model, for_concrete_model=False)
30
31
qs = new_model.objects.db_manager(using)
32
if ignore_existing:
0 commit comments