mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Removed comment about Django 1.7 behaviour
This commit is contained in:
parent
e5848941a0
commit
b94b1179fb
@ -190,8 +190,6 @@ class RelatedFields(object):
|
||||
|
||||
elif isinstance(field, ForeignObjectRel):
|
||||
# Reverse relation
|
||||
# Note: we will never get here on Django 1.7 and below as get_field
|
||||
# does not return reverse relations
|
||||
if isinstance(field, OneToOneRel):
|
||||
# select_related for reverse OneToOneField
|
||||
queryset = queryset.select_related(self.field_name)
|
||||
|
Loading…
Reference in New Issue
Block a user