Ticket #14488: class-based-views-url-books.diff
File class-based-views-url-books.diff, 591 bytes (added by , 14 years ago) |
---|
-
docs/topics/class-based-views.txt
diff --git a/docs/topics/class-based-views.txt b/docs/topics/class-based-views.txt index 1f5421a..83f060a 100644
a b publication date, with the most recent first:: 290 290 queryset = Publisher.objects.all(), 291 291 context_object_name = "publisher_list", 292 292 )), 293 (r'^ publishers/$', ListView.as_view(293 (r'^books/$', ListView.as_view( 294 294 queryset = Book.objects.order_by("-publication_date"), 295 295 context_object_name = "book_list", 296 296 )),