Author: adrian
Date: 2007-09-13 23:15:55 -0500 (Thu, 13 Sep 2007)
New Revision: 6161
Modified:
django/trunk/docs/generic_views.txt
Log:
Added 'New in Django development version' note to docs/generic_views.txt change
from [6157]
Modified: django/trunk/docs/generic_views.txt
===================================================================
--- django/trunk/docs/generic_views.txt 2007-09-14 04:12:02 UTC (rev 6160)
+++ django/trunk/docs/generic_views.txt 2007-09-14 04:15:55 UTC (rev 6161)
@@ -201,8 +201,9 @@
specified in ``date_field`` is greater than the current date/time. By
default, this is ``False``.
- * ``template_object_name``: Designates the name of the template variable
- to use in the template context. By default, this is ``'latest'``.
+ * **New in Django development version:** ``template_object_name``:
+ Designates the name of the template variable to use in the template
+ context. By default, this is ``'latest'``.
**Template name:**
@@ -227,11 +228,13 @@
* ``latest``: The ``num_latest`` objects in the system, ordered descending
by ``date_field``. For example, if ``num_latest`` is ``10``, then
- ``latest`` will be a list of the latest 10 objects in ``queryset``. This
- variable's name depends on the ``template_object_name`` parameter, which
- is ``'latest'`` by default. If ``template_object_name`` is ``'foo'``,
- this variable's name will be ``foo``.
+ ``latest`` will be a list of the latest 10 objects in ``queryset``.
+ **New in Django development version:** This variable's name depends on
+ the ``template_object_name`` parameter, which is ``'latest'`` by default.
+ If ``template_object_name`` is ``'foo'``, this variable's name will be
+ ``foo``.
+
.. _RequestContext docs:
../templates_python/#subclassing-context-requestcontext
``django.views.generic.date_based.archive_year``
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---