Chris Morales
2017-05-24 7c20d8ca305c8cdcc72fd721054b9ed2b783f02d
updated documentation showing the pyramid_tm.explicit_manager being set
1 files modified
1 ■■■■ changed files
docs/tutorials/wiki2/src/authorization/tutorial/models/__init__.py 1 ●●●● patch | view | raw | blame | history
docs/tutorials/wiki2/src/authorization/tutorial/models/__init__.py
@@ -58,6 +58,7 @@
    """
    settings = config.get_settings()
    settings['tm.manager_hook'] = 'pyramid_tm.explicit_manager'
    # use pyramid_tm to hook the transaction lifecycle to the request
    config.include('pyramid_tm')