Django

Code

Changeset 6161

Show
Ignore:
Timestamp:
09/13/07 23:15:55 (1 year ago)
Author:
adrian
Message:

Added 'New in Django development version' note to docs/generic_views.txt change from [6157]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/generic_views.txt

    r6157 r6161  
    202202      default, this is ``False``. 
    203203 
    204     * ``template_object_name``: Designates the name of the template variable 
    205       to use in the template context. By default, this is ``'latest'``. 
     204    * **New in Django development version:** ``template_object_name``: 
     205      Designates the name of the template variable to use in the template 
     206      context. By default, this is ``'latest'``. 
    206207 
    207208**Template name:** 
     
    228229    * ``latest``: The ``num_latest`` objects in the system, ordered descending 
    229230      by ``date_field``. For example, if ``num_latest`` is ``10``, then 
    230       ``latest`` will be a list of the latest 10 objects in ``queryset``. This 
    231       variable's name depends on the ``template_object_name`` parameter, which 
    232       is ``'latest'`` by default. If ``template_object_name`` is ``'foo'``,  
    233       this variable's name will be ``foo``. 
     231      ``latest`` will be a list of the latest 10 objects in ``queryset``. 
     232 
     233      **New in Django development version:** This variable's name depends on 
     234      the ``template_object_name`` parameter, which is ``'latest'`` by default. 
     235      If ``template_object_name`` is ``'foo'``, this variable's name will be 
     236      ``foo``. 
    234237 
    235238.. _RequestContext docs: ../templates_python/#subclassing-context-requestcontext