Django

Code

Changeset 3635

Show
Ignore:
Timestamp:
08/21/06 13:27:33 (2 years ago)
Author:
adrian
Message:

Fixed #2580 -- Added missing </html> tag in docs/templates.txt examples. Thanks, jonathan-django@jmail.za.net

Files:

Legend:

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

    r3485 r3635  
    142142        </div> 
    143143    </body> 
     144    </html> 
    144145 
    145146This template, which we'll call ``base.html``, defines a simple HTML skeleton 
     
    197198        </div> 
    198199    </body> 
     200    </html> 
    199201 
    200202Note that since the child template didn't define the ``sidebar`` block, the 
     
    364366Signal that this template extends a parent template. 
    365367 
    366 This tag can be used in two ways:  
     368This tag can be used in two ways: 
    367369 
    368370   * ``{% extends "base.html" %}`` (with quotes) uses the literal value 
     
    962964~~~~~~~~~ 
    963965 
    964 Returns a plural suffix if the value is not 1. By default, this suffix is ``'s'``.  
     966Returns a plural suffix if the value is not 1. By default, this suffix is ``'s'``. 
    965967 
    966968Example:: 
     
    968970    You have {{ num_messages }} message{{ num_messages|pluralize }}. 
    969971 
    970 For words that require a suffix other than ``'s'``, you can provide an alternate  
     972For words that require a suffix other than ``'s'``, you can provide an alternate 
    971973suffix as a parameter to the filter. 
    972974