Django

Code

Changeset 4397

Show
Ignore:
Timestamp:
01/22/07 20:15:36 (2 years ago)
Author:
adrian
Message:

Fixed a couple more ReST errors I found in docs/generic_views.txt

Files:

Legend:

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

    r4396 r4397  
    100100      just before rendering the template. (**This is new in the 
    101101      Django development version.**) 
    102        
     102 
    103103**Example:** 
    104104 
     
    206206 
    207207    * ``<model_name>`` is your model's name in all lowercase. For a model 
    208         ``StaffMember``, that'd be ``staffmember``. 
     208      ``StaffMember``, that'd be ``staffmember``. 
    209209 
    210210    * ``<app_label>`` is the right-most part of the full Python path to 
    211         your model's app. For example, if your model lives in 
    212         ``apps/blog/models.py``, that'd be ``blog``. 
     211      your model's app. For example, if your model lives in 
     212      ``apps/blog/models.py``, that'd be ``blog``. 
    213213 
    214214**Template context:** 
     
    639639 
    640640    * ``template_object_name``:  Designates the name of the template variable 
    641       to use in the template context. By default, this is ``'object'``. 
     641      to use in the template context. By default, this is ``'object'``. 
    642642 
    643643    * ``mimetype``: The MIME type to use for the resulting document. Defaults 
     
    825825 
    826826    * ``template_object_name``:  Designates the name of the template variable 
    827       to use in the template context. By default, this is ``'object'``. 
     827      to use in the template context. By default, this is ``'object'``. 
    828828 
    829829    * ``mimetype``: The MIME type to use for the resulting document. Defaults