Commit c5a8b442 authored by Andrew Pinkham's avatar Andrew Pinkham Committed by Tim Graham
Browse files

[1.6.x] Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs.

Backport of fea45eff from master
parent 7a30dc87
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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**::