diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-07-07 23:03:41 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-07-07 23:06:12 +0200 |
commit | cae213ace633fdb0b23c0cc512cac23f58aedde5 (patch) | |
tree | 5e180084f19453785b5eb9a0c9b0f00456897905 /development.ini | |
parent | 264612664a24447c929cfd71659d44dd95a8e3a9 (diff) | |
download | fietsboek-cae213ace633fdb0b23c0cc512cac23f58aedde5.tar.gz fietsboek-cae213ace633fdb0b23c0cc512cac23f58aedde5.tar.bz2 fietsboek-cae213ace633fdb0b23c0cc512cac23f58aedde5.zip |
wire jinja2 filters in code
Those things are not really a configuration thing that changes, rather
they are part of how the code of the application works. As such, it
doesn't make too much sense to require those configuration values.
Instead, we now add those filters programatically.
This also ensures that the filters are the same between development,
production and testing environment.
Diffstat (limited to 'development.ini')
-rw-r--r-- | development.ini | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/development.ini b/development.ini index 15250c4..47e0231 100644 --- a/development.ini +++ b/development.ini @@ -16,9 +16,6 @@ pyramid.debug_routematch = false pyramid.default_locale_name = en pyramid.includes = pyramid_debugtoolbar -jinja2.filters = - format_decimal = fietsboek.jinja2.filter_format_decimal - format_datetime = fietsboek.jinja2.filter_format_datetime sqlalchemy.url = sqlite:///%(here)s/fietsboek.sqlite |