mirror of
https://github.com/django/django.git
synced 2025-07-20 01:29:11 +00:00
[1.8.x] Fixed typo in docs/topics/class-based-views/generic-display.txt
Backport of 43d0345fe11624d6b4fd960139ff653451b4f147 from master
This commit is contained in:
parent
5079cd597c
commit
787675789c
@ -292,7 +292,7 @@ technique::
|
|||||||
class AcmeBookList(ListView):
|
class AcmeBookList(ListView):
|
||||||
|
|
||||||
context_object_name = 'book_list'
|
context_object_name = 'book_list'
|
||||||
queryset = Book.objects.filter(publisher__name='Acme Publishing')
|
queryset = Book.objects.filter(publisher__name='ACME Publishing')
|
||||||
template_name = 'books/acme_list.html'
|
template_name = 'books/acme_list.html'
|
||||||
|
|
||||||
Notice that along with a filtered ``queryset``, we're also using a custom
|
Notice that along with a filtered ``queryset``, we're also using a custom
|
||||||
|
Loading…
x
Reference in New Issue
Block a user