  
  #@register.tag
  def do_with(parser, token):
      """
      Add a value to the context (inside of this block) for caching and easy
      access.
  
      For example::
  
          {% with person.some_sql_method as total %}
 
</s> remove     ``if`` tags do not allow ``and`` and ``or`` clauses with the same
    tag, because the order of logic would be ambigous. For example,
    this is invalid::
 </s> add     ``if`` tags do not allow ``and`` and ``or`` clauses with the same tag,
    because the order of logic would be ambigous. For example, this is
    invalid:: </s> remove     Output a whole load of debugging information, including the current context and imported modules.
 </s> add     Outputs a whole load of debugging information, including the current
    context and imported modules. </s> remove     Load a custom template tag set.
 </s> add     Loads a custom template tag set. </s> remove     Cycle among the given strings each time this tag is encountered
 </s> add     Cycles among the given strings each time this tag is encountered. </s> remove     For example, to load the template tags in ``django/templatetags/news/photos.py``::
 </s> add     For example, to load the template tags in
    ``django/templatetags/news/photos.py``::
    Adds a value to the context (inside of this block) for caching and easy
  
  #@register.tag
  def do_with(parser, token):
      """
    Adds a value to the context (inside of this block) for caching and easy
      access.
  
      For example::
  
          {% with person.some_sql_method as total %}
keep keep keep keep replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaulttags.py