diff -r 5318ae6e3731 -r f1bc52d9e71b {{cookiecutter.project_slug}}/etc/development.ini --- a/{{cookiecutter.project_slug}}/etc/development.ini Sun Nov 26 09:29:21 2017 +0100 +++ b/{{cookiecutter.project_slug}}/etc/development.ini Sun Jan 14 12:27:43 2018 +0100 @@ -16,6 +16,7 @@ pyramid_fanstatic pyramid_zodbconn pyramid_tm + pyramid_retry {%- if cookiecutter.use_elasticsearch %} pyramid_es {%- endif %} @@ -58,8 +59,8 @@ {{ cookiecutter.extension_package }} {%- endif %} -tm.attempts = 3 -zodbconn.uri = zconfig://%(here)s/zodb-zeo.conf +retry.attempts = 3 +zodbconn.uri = zconfig://%(here)s/zodb-{{ cookiecutter.db_type }}.conf # By default, the toolbar only appears for clients from IP addresses # '127.0.0.1' and '::1'. @@ -99,7 +100,7 @@ beaker.cache.default.expire = 300 beaker.cache.long.expire = 3600 beaker.cache.persistent.expire = 604800 -beaker.cache.viws.expire = 300 +beaker.cache.views.expire = 300 {%- if cookiecutter.beaker_backend == 'redis' %} beaker.cache.short.db = 2 beaker.cache.default.db = 3 @@ -120,8 +121,14 @@ # PyAMS ØMQ TCP handlers pyams_scheduler.tcp_handler = {{ cookiecutter.pyams_scheduler }} +pyams_scheduler.start_handler = {{ cookiecutter.start_scheduler }} + pyams_media.tcp_handler = {{ cookiecutter.pyams_medias_converter }} +pyams_media.start_handler = {{ cookiecutter.start_medias_converter }} + pyams_content.es.tcp_handler = {{ cookiecutter.pyams_es_indexer }} +pyams_content.es.start_handler = {{ cookiecutter.start_es_indexer }} + pyams_notify.tcp_handler = {{ cookiecutter.pyams_ws_notify }} pyams_notify_ws.cache_server = {{ cookiecutter.beaker_backend }}://{{ cookiecutter.beaker_server }} @@ -131,11 +138,18 @@ pyams_content.config.tools_name = tools +# Set factory to 'NONE' or '--' to disable tool registration +pyams_content.config.views_tool_factory = pyams_content.shared.view.manager.ViewsManager +pyams_content.config.views_tool_name = views + pyams_content.config.news_tool_factory = pyams_content.shared.news.manager.NewsManager pyams_content.config.news_tool_name = news pyams_content.config.imagemaps_tool_factory = pyams_content.shared.imagemaps.manager.ImageMapsManager -pyams_content.config.imagemaps_tool_name = news +pyams_content.config.imagemaps_tool_name = imgmaps + +pyams_content.config.forms_tool_factory = pyams_content.shared.form.manager.FormsManager +pyams_content.config.forms_tool_name = forms ###