mirror of
https://github.com/django/django.git
synced 2025-04-22 00:04:43 +00:00
[1.6.x] Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs.
Backport of fea45eff5a2f2ad10b2788603db80e5a4fe6be06 from master
This commit is contained in:
parent
7a30dc87ad
commit
c5a8b442bd
@ -264,7 +264,6 @@ MonthArchiveView
|
||||
class ArticleMonthArchiveView(MonthArchiveView):
|
||||
queryset = Article.objects.all()
|
||||
date_field = "pub_date"
|
||||
make_object_list = True
|
||||
allow_future = True
|
||||
|
||||
**Example myapp/urls.py**::
|
||||
@ -357,7 +356,6 @@ WeekArchiveView
|
||||
class ArticleWeekArchiveView(WeekArchiveView):
|
||||
queryset = Article.objects.all()
|
||||
date_field = "pub_date"
|
||||
make_object_list = True
|
||||
week_format = "%W"
|
||||
allow_future = True
|
||||
|
||||
@ -472,7 +470,6 @@ DayArchiveView
|
||||
class ArticleDayArchiveView(DayArchiveView):
|
||||
queryset = Article.objects.all()
|
||||
date_field = "pub_date"
|
||||
make_object_list = True
|
||||
allow_future = True
|
||||
|
||||
**Example myapp/urls.py**::
|
||||
@ -546,7 +543,6 @@ TodayArchiveView
|
||||
class ArticleTodayArchiveView(TodayArchiveView):
|
||||
queryset = Article.objects.all()
|
||||
date_field = "pub_date"
|
||||
make_object_list = True
|
||||
allow_future = True
|
||||
|
||||
**Example myapp/urls.py**::
|
||||
|
Loading…
x
Reference in New Issue
Block a user