1
0
mirror of https://github.com/django/django.git synced 2025-01-08 01:15:47 +00:00

Fixed typo in django/db/models/fields/related_descriptors.py.

This commit is contained in:
Jacob Walls 2025-01-01 12:20:55 -05:00 committed by Sarah Boyce
parent f14cab28a5
commit 82b913cd6c

View File

@ -183,7 +183,7 @@ class ForwardManyToOneDescriptor:
# FIXME: This will need to be revisited when we introduce support for
# composite fields. In the meantime we take this practical approach to
# solve a regression on 1.6 when the reverse manager in hidden
# solve a regression on 1.6 when the reverse manager is hidden
# (related_name ends with a '+'). Refs #21410.
# The check for len(...) == 1 is a special case that allows the query
# to be join-less and smaller. Refs #21760.