#19442: Documentation: db transactions clarification
--------------------------------------+------------------------------------
     Reporter:  startup.canada@…      |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  closed
    Component:  Documentation         |                  Version:  1.4
     Severity:  Normal                |               Resolution:  fixed
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by akaariai):

 The modified docs suggest that both autocommit and commit_on_success need
 manual commit for raw SQL. I don't think this is the case - if you are
 using raw SQL, then commit_on_success should just work, but autocommit
 fails to commit your raw SQL writes (as it doesn't know which raw SQL
 statements are writes...).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19442#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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to