You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
339 B
12 lines
339 B
from pyramid.config import Configurator |
|
|
|
|
|
def main(global_config, **settings): |
|
""" This function returns a Pyramid WSGI application. |
|
""" |
|
config = Configurator(settings=settings) |
|
config.include('pyramid_jinja2') |
|
config.include('.models') |
|
config.include('.routes') |
|
config.scan() |
|
return config.make_wsgi_app()
|
|
|