0
0
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:
Karl Hobley 2016-04-19 22:14:34 +01:00
parent e5848941a0
commit b94b1179fb

View File

@ -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)