Remove version caps for pyramid; stop auto-config for postgres error retry
This commit is contained in:
parent
ba95d39780
commit
12c8b3b8dd
2 changed files with 0 additions and 16 deletions
|
@ -12,9 +12,6 @@ def main(global_config, **settings):
|
|||
"""
|
||||
This function returns a Pyramid WSGI application.
|
||||
"""
|
||||
# set some defaults for PostgreSQL
|
||||
app.provide_postgresql_settings(settings)
|
||||
|
||||
# prefer demo templates over tailbone
|
||||
settings.setdefault('mako.directories', ['rattail_demo.web:templates',
|
||||
'tailbone:templates',])
|
||||
|
@ -28,7 +25,4 @@ def main(global_config, **settings):
|
|||
pyramid_config.include('rattail_demo.web.subscribers')
|
||||
pyramid_config.include('rattail_demo.web.views')
|
||||
|
||||
# configure PostgreSQL some more
|
||||
app.configure_postgresql(pyramid_config)
|
||||
|
||||
return pyramid_config.make_wsgi_app()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue