#15052 closed (fixed)
Incorrect docstring in DayMixin
Reported by: | rasca | Owned by: | rasca |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The get_day_format()
docstring reads
Get a month format string in strptime syntax to be used to parse the month from url variables.
when it should say *day* instead of *month*
patch:
diff --git a/django/views/generic/dates.py b/django/views/generic/dates.py index 8c95249..c9e486b 100644 --- a/django/views/generic/dates.py +++ b/django/views/generic/dates.py @@ -80,8 +80,8 @@ class DayMixin(object): def get_day_format(self): """ - Get a month format string in strptime syntax to be used to parse the - month from url variables. + Get a day format string in strptime syntax to be used to parse the day + from url variables. """ return self.day_format
Change History (4)
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [15315]) Fixed #15052 -- corrected an innacurate docstring in the generic views.