#7751: Don't assume that connection.autocommit is a callable
-------------------------------+--------------------------------------------
 Reporter:  leosoto            |       Owner:  nobody    
   Status:  new                |   Milestone:  1.0 beta  
Component:  Uncategorized      |     Version:  SVN       
 Keywords:  jython, db-be-api  |       Stage:  Unreviewed
Has_patch:  1                  |  
-------------------------------+--------------------------------------------
 source:django/trunk/django/test/utils.py assumes that
 `connection.autocommit` is going to be a callable. This is not true for
 some backends where it is a property (basically all JDBC based backends,
 also PyODBC and cx_Oracle).

 The attached patch fixes this by taking into account the case where
 ``autocommit`` is a property.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7751>
Django Code <http://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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to