diff options
| author | Bouke Haarsma <bouke@webatoom.nl> | 2013-10-14 13:59:56 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-14 08:14:27 -0400 |
| commit | 8fc63087f6ad888b68dff17ee0c527774332d932 (patch) | |
| tree | d19ce7ac5e7746588d6ea404a7fe1fbc2a68ebe3 /docs/topics/class-based-views | |
| parent | 13ddf0e0027b7646953a4c7d872ca682667c9b3f (diff) | |
Fixed #21264 -- Incorrect RST usage in docs
Diffstat (limited to 'docs/topics/class-based-views')
| -rw-r--r-- | docs/topics/class-based-views/index.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/topics/class-based-views/index.txt b/docs/topics/class-based-views/index.txt index b2fa93e05f..84e4597842 100644 --- a/docs/topics/class-based-views/index.txt +++ b/docs/topics/class-based-views/index.txt @@ -69,9 +69,10 @@ and override the template name:: template_name = "about.html" Then we just need to add this new view into our URLconf. -`~django.views.generic.base.TemplateView` is a class, not a function, so we -point the URL to the :meth:`~django.views.generic.base.View.as_view` class -method instead, which provides a function-like entry to class-based views:: +:class:`~django.views.generic.base.TemplateView` is a class, not a function, +so we point the URL to the :meth:`~django.views.generic.base.View.as_view` +class method instead, which provides a function-like entry to class-based +views:: # urls.py from django.conf.urls import patterns |
