diff --git a/django/contrib/contenttypes/fields.py b/django/contrib/contenttypes/fields.py index a3e87f6ed4..1d58a538ed 100644 --- a/django/contrib/contenttypes/fields.py +++ b/django/contrib/contenttypes/fields.py @@ -362,6 +362,9 @@ class GenericRelation(ForeignObject): *self._check_generic_foreign_key_existence(), ] + def _check_from_fields_exist(self): + return [] + def _is_matching_generic_foreign_key(self, field): """ Return True if field is a GenericForeignKey whose content type and