Fixed typo in docs/topics/class-based-views/generic-display.txt
This commit is contained in:
parent
2960e3a3a7
commit
43d0345fe1
|
@ -290,7 +290,7 @@ technique::
|
|||
class AcmeBookList(ListView):
|
||||
|
||||
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'
|
||||
|
||||
Notice that along with a filtered ``queryset``, we're also using a custom
|
||||
|
|
Loading…
Reference in New Issue