mirror of
https://github.com/django/django.git
synced 2025-08-18 17:50:58 +00:00
Fixed typo in docstrings of MonthArchiveViews.
This commit is contained in:
parent
9eb16031ca
commit
270c9fe488
1 changed files with 2 additions and 2 deletions
|
@ -482,7 +482,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'
|
||||
|
||||
|
@ -516,7 +516,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…
Add table
Add a link
Reference in a new issue