Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Include global conf in settings in scaffold #110

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ramses/scaffolds/ramses_starter/+package+/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@


def main(global_config, **settings):
# Update settings with global_config to allow overriding
# config file params with console params
settings.update(global_config)
config = Configurator(settings=settings)
config.include('ramses')
return config.make_wsgi_app()