Tag Archives: templates

What I have learned today about custom template filters in django

If you make changes to a custom template filter, or, in some cases, even a function that passes data to a custom filter, and the filter stops working, restart your web server. That should reload the filter into the template cache. Takes me a day to realise that usually. Now I’ve written it down I shouldn’t forget. When I can find my glasses. Oh, here they are, on my face.