diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/app.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/app.py index 296624b..0989fd1 100644 --- a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/app.py +++ b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/app.py @@ -26,15 +26,12 @@ _settings = { 'RENDERERS': [JSONRenderer()] } - -routes = routes - commands = sqlalchemy_backend.commands components = sqlalchemy_backend.components -def application_factory(settings={}): +def application_factory(settings={}, _settings=_settings, routes=routes, commands=commands, components=components): """Returns an instance of Cookie API""" app_settings = {**_settings, **settings} return App(settings=app_settings,