Re: [pylons-discuss] Relationship between requests and Zope transactions

2018-09-01 Thread jens . troeger
Thanks Michael! You are talking about these two lines of code in the cookiecutter’s model/__ini

Re: [pylons-discuss] Relationship between requests and Zope transactions

2018-09-01 Thread Michael Merickel
Jens, by default your example is true, but it is not true in the cookiecutter configuration. The value of request.tm is defined by the tm.manager_hook setting and by default it is the threadlocal transaction.manager. The cookiecutter overrides the hook (and I suggest you do as well) to define a non

[pylons-discuss] Relationship between requests and Zope transactions

2018-09-01 Thread jens . troeger
Hi, According to the documentation here , “Pyramid requests [to] join the active transaction