google-code-export / django-pyodbc

Automatically exported from code.google.com/p/django-pyodbc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

convert_values function is in SQLCompiler class instead of DatabaseOperations #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

In Django 1.2, Django expects the backends to have the convert_values 
function in DatabaseOperations class, instead of the old Query class. At the 
moment, in django-pyodbc, this function is copied to SQLCompiler class 
instead, but Django never calls convert_values from the compiler class.

To give you an example, the Oracle backend (django\db\backends\oracle) 
correctly has the convert_values function in DatabaseOperations class (in 
base.py), not in SQLCompiler class (compiler.py)

Original issue reported on code.google.com by gokhan.i...@gmail.com on 4 Jun 2010 at 12:01

GoogleCodeExporter commented 9 years ago
Fixed in revision 182, thanks.

Original comment by vcc.ch...@gmail.com on 7 Jun 2010 at 12:46