Changes between Initial Version and Version 1 of Ticket #26043
- Timestamp:
- Jan 6, 2016, 3:28:32 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26043 – Description
initial v1 1 We are upgrading from Django 1.7 to Django 1.8. We noticed, we cannot perform things :1 We are upgrading from Django 1.7 to Django 1.8. We noticed, we cannot perform things like: 2 2 {{{ 3 3 connection.cursor().execute('SET LOCAL my_variable TO %d' % var) … … 8 8 We have more than 2,000 views (some of them created dynamically) , so decorating them manually is not a practical nor secure solution. 9 9 10 Currently, we patch {{{BaseHandler.make_view_atomic}}} to handle this but its weird that there is no tdefault way to insert custom code in between starting a transaction and the actual execution of a view.10 Currently, we patch {{{BaseHandler.make_view_atomic}}} to handle this but its weird that there is no default way to insert custom code in between starting a transaction and the actual execution of a view.