Ticket #6179: 6179.diff
| File 6179.diff, 0.6 kB (added by arien, 1 year ago) |
|---|
-
docs/templates_python.txt
old new 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::
