aboutsummaryrefslogtreecommitdiff
path: root/production.ini
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-07-07 23:03:41 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-07-07 23:06:12 +0200
commitcae213ace633fdb0b23c0cc512cac23f58aedde5 (patch)
tree5e180084f19453785b5eb9a0c9b0f00456897905 /production.ini
parent264612664a24447c929cfd71659d44dd95a8e3a9 (diff)
downloadfietsboek-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 'production.ini')
-rw-r--r--production.ini3
1 files changed, 0 insertions, 3 deletions
diff --git a/production.ini b/production.ini
index 9dd45c2..2a822d5 100644
--- a/production.ini
+++ b/production.ini
@@ -11,9 +11,6 @@ pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
-jinja2.filters =
- format_decimal = fietsboek.jinja2.filter_format_decimal
- format_datetime = fietsboek.jinja2.filter_format_datetime
email.from = fietsboek@kingdread.de
email.smtp_url = debug://localhost:1025