Django

Code

Changeset 7203

Show
Ignore:
Timestamp:
03/07/08 21:19:52 (6 months ago)
Author:
gwilson
Message:

Fixed #6732 -- Added missing word "must" in templates_python.txt docs, thanks Atul Varma.

Files:

Legend:

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

    r7196 r7203  
    630630Python code, depending on whether you're writing filters or tags. 
    631631 
    632 To be a valid tag library, the module contain a module-level variable named 
    633 ``register`` that is a ``template.Library`` instance, in which all the tags and 
    634 filters are registered. So, near the top of your module, put the following:: 
     632To be a valid tag library, the module must contain a module-level variable 
     633named ``register`` that is a ``template.Library`` instance, in which all the 
     634tags and filters are registered. So, near the top of your module, put the 
     635following:: 
    635636 
    636637    from django import template