mirror of
https://github.com/django/django.git
synced 2025-04-04 13:36:42 +00:00
Fixed comment to match the code
This commit is contained in:
parent
27192564c3
commit
383da13785
@ -623,7 +623,7 @@ subclass::
|
||||
provided in the query string and retrievable via
|
||||
`self.value()`.
|
||||
"""
|
||||
# Compare the requested value (either '80s' or 'other')
|
||||
# Compare the requested value (either '80s' or '90s')
|
||||
# to decide how to filter the queryset.
|
||||
if self.value() == '80s':
|
||||
return queryset.filter(birthday__gte=date(1980, 1, 1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user