[Django]-Using django filters in jinja2

7👍

The timesince function that the Django filter uses can be found here: https://github.com/django/django/blob/master/django/utils/timesince.py

Documentation on writing custom jinja filters can be found here: http://jinja.pocoo.org/docs/api/#custom-filters

👤Acorn

Leave a comment