Ticket #3887: defaulttags.patch

File defaulttags.patch, 445 bytes (added by Florian Apolloner, 18 years ago)
  • django/template/defaulttags.py

     
    989989def do_with(parser, token):
    990990    """
    991991    Add a value to the context (inside of this block) for caching and easy
    992     access. For example::
     992    access.
     993
     994    For example::
    993995
    994996        {% with person.some_sql_method as total %}
    995997            {{ total }} object{{ total|pluralize }}
Back to Top