mirror of
https://github.com/django/django.git
synced 2025-11-08 07:23:52 +00:00
Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs.
This commit is contained in:
parent
08572e8d12
commit
fea45eff5a
1 changed files with 0 additions and 4 deletions
|
|
@ -256,7 +256,6 @@ MonthArchiveView
|
||||||
class ArticleMonthArchiveView(MonthArchiveView):
|
class ArticleMonthArchiveView(MonthArchiveView):
|
||||||
queryset = Article.objects.all()
|
queryset = Article.objects.all()
|
||||||
date_field = "pub_date"
|
date_field = "pub_date"
|
||||||
make_object_list = True
|
|
||||||
allow_future = True
|
allow_future = True
|
||||||
|
|
||||||
**Example myapp/urls.py**::
|
**Example myapp/urls.py**::
|
||||||
|
|
@ -349,7 +348,6 @@ WeekArchiveView
|
||||||
class ArticleWeekArchiveView(WeekArchiveView):
|
class ArticleWeekArchiveView(WeekArchiveView):
|
||||||
queryset = Article.objects.all()
|
queryset = Article.objects.all()
|
||||||
date_field = "pub_date"
|
date_field = "pub_date"
|
||||||
make_object_list = True
|
|
||||||
week_format = "%W"
|
week_format = "%W"
|
||||||
allow_future = True
|
allow_future = True
|
||||||
|
|
||||||
|
|
@ -464,7 +462,6 @@ DayArchiveView
|
||||||
class ArticleDayArchiveView(DayArchiveView):
|
class ArticleDayArchiveView(DayArchiveView):
|
||||||
queryset = Article.objects.all()
|
queryset = Article.objects.all()
|
||||||
date_field = "pub_date"
|
date_field = "pub_date"
|
||||||
make_object_list = True
|
|
||||||
allow_future = True
|
allow_future = True
|
||||||
|
|
||||||
**Example myapp/urls.py**::
|
**Example myapp/urls.py**::
|
||||||
|
|
@ -538,7 +535,6 @@ TodayArchiveView
|
||||||
class ArticleTodayArchiveView(TodayArchiveView):
|
class ArticleTodayArchiveView(TodayArchiveView):
|
||||||
queryset = Article.objects.all()
|
queryset = Article.objects.all()
|
||||||
date_field = "pub_date"
|
date_field = "pub_date"
|
||||||
make_object_list = True
|
|
||||||
allow_future = True
|
allow_future = True
|
||||||
|
|
||||||
**Example myapp/urls.py**::
|
**Example myapp/urls.py**::
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue