[1.10.x] Fixed typo in docs/topics/class-based-views/generic-display.txt
Backport of 43d0345fe1
from master
This commit is contained in:
parent
aa777cdaaa
commit
87940f1f3c
|
@ -290,7 +290,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…
Reference in New Issue