mirror of https://github.com/django/django.git
[1.6.x] Fixed typo in docstrings of MonthArchiveViews.
Backport of 270c9fe488
from master
This commit is contained in:
parent
5d99cd6877
commit
e694b0631f
django/views/generic
|
@ -481,7 +481,7 @@ class YearArchiveView(MultipleObjectTemplateResponseMixin, BaseYearArchiveView):
|
|||
|
||||
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'
|
||||
|
||||
|
@ -515,7 +515,7 @@ class BaseMonthArchiveView(YearMixin, MonthMixin, BaseDateListView):
|
|||
|
||||
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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue