diff options
| author | Steve Piercy <web@stevepiercy.com> | 2017-06-10 12:50:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-10 12:50:02 -0700 |
| commit | a503511cf82ab1db8c66eb949eeb30da92dd621f (patch) | |
| tree | 80d9cbd2612597b454e13a64eb8a6f8e1641ef92 /docs/tutorials/wiki2/src/authentication | |
| parent | 5452f1abd785841ea1510945122f4d2f811ac8f0 (diff) | |
| parent | 7c20d8ca305c8cdcc72fd721054b9ed2b783f02d (diff) | |
| download | pyramid-a503511cf82ab1db8c66eb949eeb30da92dd621f.tar.gz pyramid-a503511cf82ab1db8c66eb949eeb30da92dd621f.tar.bz2 pyramid-a503511cf82ab1db8c66eb949eeb30da92dd621f.zip | |
Merge pull request #3059 from chrismorales/pyramid_tm_3052
set pyramid_tm.explicit_manager in the configuration
Diffstat (limited to 'docs/tutorials/wiki2/src/authentication')
| -rw-r--r-- | docs/tutorials/wiki2/src/authentication/tutorial/models/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/tutorials/wiki2/src/authentication/tutorial/models/__init__.py b/docs/tutorials/wiki2/src/authentication/tutorial/models/__init__.py index 8147052ad..cd8347ccd 100644 --- a/docs/tutorials/wiki2/src/authentication/tutorial/models/__init__.py +++ b/docs/tutorials/wiki2/src/authentication/tutorial/models/__init__.py @@ -58,6 +58,7 @@ def includeme(config): """ 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') |
