Django

Code

Changeset 5667

Show
Ignore:
Timestamp:
07/12/07 08:23:11 (1 year ago)
Author:
russellm
Message:

Fixed #4640 -- Fixed import to stringfilter in docs. Proposed solution to move stringfilter into django.template.init introduces a circular import problem.

Files:

Legend:

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

    r5600 r5667  
    675675an object to it's string value before being passed to your function:: 
    676676 
    677     from django import template 
    678  
    679     @template.stringfilter 
     677    from django.template.defaultfilters import stringfilter 
     678 
     679    @stringfilter 
    680680    def lower(value): 
    681681        return value.lower()