summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/class-based-views.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/class-based-views.txt b/docs/topics/class-based-views.txt
index 3812faefd2..d375e8d67b 100644
--- a/docs/topics/class-based-views.txt
+++ b/docs/topics/class-based-views.txt
@@ -380,7 +380,7 @@ Next, we'll write the ``PublisherBookListView`` view itself::
class PublisherBookListView(ListView):
context_object_name = "book_list"
- template_name = "books/books_by_publisher.html",
+ template_name = "books/books_by_publisher.html"
def get_queryset(self):
publisher = get_object_or_404(Publisher, name__iexact=self.args[0])
@@ -396,7 +396,7 @@ use it in the template::
class PublisherBookListView(ListView):
context_object_name = "book_list"
- template_name = "books/books_by_publisher.html",
+ template_name = "books/books_by_publisher.html"
def get_queryset(self):
self.publisher = get_object_or_404(Publisher, name__iexact=self.args[0])