Add proper "retry" support for basic postgres restart
This commit is contained in:
parent
b0a52dcec2
commit
9294d95ffb
|
@ -14,6 +14,9 @@ def main(global_config, **settings):
|
|||
"""
|
||||
This function returns a Pyramid WSGI application.
|
||||
"""
|
||||
# set some defaults for postgres
|
||||
app.provide_postgresql_settings(settings)
|
||||
|
||||
# prefer demo templates over tailbone
|
||||
settings.setdefault('mako.directories', ['rattail_demo.web:templates',
|
||||
'tailbone:templates',])
|
||||
|
|
Loading…
Reference in a new issue