diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py index 5dd02bccf24..aa232c07f39 100644 --- a/django/db/models/fields/related.py +++ b/django/db/models/fields/related.py @@ -25,7 +25,7 @@ def add_lookup(rel_cls, field): key = (module, name) # Has the model already been loaded? # If so, resolve the string reference right away - model = get_model(rel_cls._meta.app_label,field.rel.to) + model = get_model(rel_cls._meta.app_label, field.rel.to, False) if model: field.rel.to = model field.do_related_class(model, rel_cls)