We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef0f686 + a254f1d commit eb0e01aCopy full SHA for eb0e01a
docs/quick_tutorial/databases/tutorial/__init__.py
@@ -7,7 +7,6 @@
7
def main(global_config, **settings):
8
engine = engine_from_config(settings, 'sqlalchemy.')
9
DBSession.configure(bind=engine)
10
- Base.metadata.bind = engine
11
12
config = Configurator(settings=settings,
13
root_factory='tutorial.models.Root')
@@ -18,4 +17,4 @@ def main(global_config, **settings):
18
17
config.add_route('wikipage_edit', '/{uid}/edit')
19
config.add_static_view('deform_static', 'deform:static/')
20
config.scan('.views')
21
- return config.make_wsgi_app()
+ return config.make_wsgi_app()
0 commit comments