Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

13
  • 19
    Django Custom Template Tag documentation, for those finding this in the future. Commented Aug 25, 2012 at 21:26
  • 378
    Why is this not built in by default? :-( Commented Dec 28, 2012 at 15:23
  • 12
    I think @Jeff meant Django Custom Template Filter documentation Commented Jul 24, 2013 at 10:08
  • 27
    Does the filter go in views.py, some extra filters.py, or what file? Commented Jun 28, 2015 at 18:10
  • 8
    @BerislavLopac because the Django template language sucked when it was created and it still sucks today. Friends don't let friends use Django templates. Commented Sep 27, 2018 at 10:16