mirror of
https://github.com/django/django.git
synced 2025-03-13 10:50:55 +00:00
[1.6.x] Fixed typo in docstrings of MonthArchiveViews.
Backport of 270c9fe488 from master
This commit is contained in:
parent
5d99cd6877
commit
e694b0631f
@ -481,7 +481,7 @@ class YearArchiveView(MultipleObjectTemplateResponseMixin, BaseYearArchiveView):
|
|||||||
|
|
||||||
class BaseMonthArchiveView(YearMixin, MonthMixin, BaseDateListView):
|
class BaseMonthArchiveView(YearMixin, MonthMixin, BaseDateListView):
|
||||||
"""
|
"""
|
||||||
List of objects published in a given year.
|
List of objects published in a given month.
|
||||||
"""
|
"""
|
||||||
date_list_period = 'day'
|
date_list_period = 'day'
|
||||||
|
|
||||||
@ -515,7 +515,7 @@ class BaseMonthArchiveView(YearMixin, MonthMixin, BaseDateListView):
|
|||||||
|
|
||||||
class MonthArchiveView(MultipleObjectTemplateResponseMixin, BaseMonthArchiveView):
|
class MonthArchiveView(MultipleObjectTemplateResponseMixin, BaseMonthArchiveView):
|
||||||
"""
|
"""
|
||||||
List of objects published in a given year.
|
List of objects published in a given month.
|
||||||
"""
|
"""
|
||||||
template_name_suffix = '_archive_month'
|
template_name_suffix = '_archive_month'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user