mirror of
https://github.com/django/django.git
synced 2024-11-21 19:09:18 +01:00
Fixed #373 - Fix test.
This commit is contained in:
parent
e8ee68f066
commit
38d5d4688b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user