diff options
| author | Timo Graham <timograham@gmail.com> | 2012-02-05 15:41:53 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2012-02-05 15:41:53 +0000 |
| commit | 46c08c8f951d2a5c662cc38f5a61bd22fa417a05 (patch) | |
| tree | e166b632bedb2d6b249833ce189575f56e7112ba /docs | |
| parent | 33f9ba7ba023359db035c7008703bf0723ef2f44 (diff) | |
[1.3.X] Fixed #17510 - Typo in docs/topics/class-based-views.txt; thanks andrew and noria.
Backport of r17457 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/class-based-views.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/class-based-views.txt b/docs/topics/class-based-views.txt index 38310462c2..4da48ec288 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]) |
