Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #17510 - Typo in docs/topics/class-based-views.txt; thanks andr…

…ew and noria.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9f95d79cee4130c653fef5c6709a73036c661333 1 parent 44d1791
Tim Graham authored February 05, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/class-based-views.txt
4  docs/topics/class-based-views.txt
@@ -380,7 +380,7 @@ Next, we'll write the ``PublisherBookListView`` view itself::
380 380
     class PublisherBookListView(ListView):
381 381
 
382 382
         context_object_name = "book_list"
383  
-        template_name = "books/books_by_publisher.html",
  383
+        template_name = "books/books_by_publisher.html"
384 384
 
385 385
         def get_queryset(self):
386 386
             publisher = get_object_or_404(Publisher, name__iexact=self.args[0])
@@ -396,7 +396,7 @@ use it in the template::
396 396
     class PublisherBookListView(ListView):
397 397
 
398 398
         context_object_name = "book_list"
399  
-        template_name = "books/books_by_publisher.html",
  399
+        template_name = "books/books_by_publisher.html"
400 400
 
401 401
         def get_queryset(self):
402 402
             self.publisher = get_object_or_404(Publisher, name__iexact=self.args[0])

0 notes on commit 9f95d79

Please sign in to comment.
Something went wrong with that request. Please try again.