Add datetimeformat and slugify filters
authorMagnus Hagander <magnus@hagander.net>
Mon, 23 Jan 2017 17:15:03 +0000 (18:15 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 23 Jan 2017 17:17:41 +0000 (18:17 +0100)
commitecdca50fd95ef5bdfbbf8084b0afffe08f565265
tree8c9ee99882fbfd5017451990bd6f346870dcdac4
parent3c0974e8e6b149ad93898774f57120faaa7dee0d
Add datetimeformat and slugify filters

slugify already existed in the backend but was missing in deploystatic.

datetimeformat performs strftime() if the passed value is a date or time
object, and converts it to such an object to do strftime() on it if it
is not.
postgresqleu/confreg/jinjafunc.py
tools/deploystatic/deploystatic.py