Changes between Initial Version and Version 1 of Ticket #26043


Ignore:
Timestamp:
Jan 6, 2016, 3:28:32 AM (9 years ago)
Author:
Sven R. Kunze
Comment:

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:
     1We are upgrading from Django 1.7 to Django 1.8. We noticed, we cannot perform things like:
    22{{{
    33connection.cursor().execute('SET LOCAL my_variable TO %d' % var)
     
    88We have more than 2,000 views (some of them created dynamically) , so decorating them manually is not a practical nor secure solution.
    99
    10 Currently, we patch {{{BaseHandler.make_view_atomic}}} to handle this but its weird that there is not default way to insert custom code in between starting a transaction and the actual execution of a view.
     10Currently, 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.
Back to Top