Ticket #1359 (closed enhancement: fixed)

Opened 1 year ago

Last modified 8 months ago

[PATCH] Add sqlalchemy transaction object to the request

Reported by: Janzert Assigned to: anonymous
Priority: normal Milestone: 1.0.2
Component: SQLAlchemy Version: 1.0
Severity: normal Keywords:
Cc:

Description

As discussed here add the SA transaction object created by turbogears to the cherrypy request. By not retaining a local variable reference to the transaction it also allows people to rollback, commit and start a new transaction within the controller.

Attachments

trans_in_request.diff (1.0 kB) - added by Janzert on 04/16/07 16:53:17.
Patch adding the SA transaction into the cherrypy.request object

Change History

04/16/07 16:53:17 changed by Janzert

  • attachment trans_in_request.diff added.

Patch adding the SA transaction into the cherrypy.request object

04/21/07 07:19:42 changed by alberto

  • status changed from new to closed.
  • resolution set to fixed.

Applied at [2880]. Thanks! :)

Alberto