[cubicweb/pyramid] pyramid.ini options
authorArthur Lutz <arthur.lutz@logilab.fr>
Tue, 21 Feb 2017 17:55:38 +0100
changeset 118 28a570c2654a
parent 117 70ad5cc2bf8d
child 119 e208e9ad6545
[cubicweb/pyramid] pyramid.ini options
cubicweb/pyramid/pyramid.ini
--- a/cubicweb/pyramid/pyramid.ini	Fri Feb 03 11:51:02 2017 +0100
+++ b/cubicweb/pyramid/pyramid.ini	Tue Feb 21 17:55:38 2017 +0100
@@ -6,6 +6,11 @@
     {{ include }}
 {% endfor %}
 
+pyramid.includes =
+{% for include in config.pyramid.pyramid_includes|default((), true)  %}
+    {{ include }}
+{% endfor %}
+
 cubicweb.profile = no
 cubicweb.session.secret = {{ config.pyramid.session_secret }}
 cubicweb.auth.authtkt.session.secret = {{ config.pyramid.authtk_session_secret }}
@@ -20,4 +25,8 @@
 redis.sessions.url = {{ config.pyramid.get('redis_url', 'redis://localhost:6379/0') }}
 #redis.sessions.serialize = json.dumps
 #redis.sessions.deserialize = json.loads
-{% endif %}
\ No newline at end of file
+{% endif %}
+
+{% for line in config.pyramid.misc_options|default((), true) %}
+{{ line }}
+{% endfor %}
\ No newline at end of file