Django

Code

Ticket #6179: 6179.diff

File 6179.diff, 0.6 kB (added by arien, 1 year ago)

same as Ionut's patch but with squigglies to match the length of the header

  • docs/templates_python.txt

    old new  
    691691won't cause an ``AttributeError`` (because integers don't have ``lower()`` 
    692692methods). 
    693693 
    694 Registering a custom filters 
    695 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     694Registering custom filters 
     695~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    696696 
    697697Once you've written your filter definition, you need to register it with 
    698698your ``Library`` instance, to make it available to Django's template language::