Ticket #6179: 6179.diff
File 6179.diff, 574 bytes (added by , 17 years ago) |
---|
-
docs/templates_python.txt
691 691 won't cause an ``AttributeError`` (because integers don't have ``lower()`` 692 692 methods). 693 693 694 Registering acustom filters695 ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~694 Registering custom filters 695 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 696 696 697 697 Once you've written your filter definition, you need to register it with 698 698 your ``Library`` instance, to make it available to Django's template language::