Author: timo
Date: 2010-12-27 19:04:43 -0600 (Mon, 27 Dec 2010)
New Revision: 15077

Modified:
   django/trunk/docs/topics/class-based-views.txt
Log:
Fixed #14682 - Add a note with an example of the explicit template location for 
class based views.  Thanks PaulM for the suggestion, adamv for the patch.

Modified: django/trunk/docs/topics/class-based-views.txt
===================================================================
--- django/trunk/docs/topics/class-based-views.txt      2010-12-28 00:13:13 UTC 
(rev 15076)
+++ django/trunk/docs/topics/class-based-views.txt      2010-12-28 01:04:43 UTC 
(rev 15077)
@@ -154,6 +154,13 @@
 app that defines the model, while the "publisher" bit is just the lowercased
 version of the model's name.
 
+.. note::
+    Thus, when (for example) the 
:class:`django.template.loaders.app_directories.Loader`
+    template loader is enabled in :setting:`TEMPLATE_LOADERS`, the template
+    location would be::
+
+        /path/to/project/books/templates/books/publisher_list.html
+
 .. highlightlang:: html+django
 
 This template will be rendered against a context containing a variable called

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to