#17760: connection.features.supports_transactions is None
-------------------------------------+-------------------------------------
     Reporter:  cdestigter           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.3
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by akaariai):

 I think the connection.features.supports_transactions should be a cached
 property. It checks the support when first accessed, later on it is just a
 normal boolean. That way there would be no need to run features.confirm()
 at all, supports transactions is always usable.

 I haven't verified the issue, so the above is more a general note...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17760#comment:2>
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 this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to