#21453: Set autocommit mode before calling init_connection_state
-------------------------------------+-------------------------------------
     Reporter:  aaugustin            |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  1.6
    Component:  Database layer       |               Resolution:
  (models, ORM)                      |             Triage Stage:
     Severity:  Normal               |  Unreviewed
     Keywords:                       |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by akaariai):

 Maybe we could even go for always run init_connection_state in autocommit
 mode, switch to settings mode after init_connection_state is done? This
 way init_connection_state doesn't need to be aware of transactions.

 As for why wasn't commit used for timezone set, I don't recall if that was
 ever tried.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21453#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.15fb14759ee8405e53cffd2f609ed514%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to