1. Michael Manfre
  2. django-mssql
  3. Issues


Issue #16 resolved

Connection object not being passed around.

Anonymous created an issue


When I just installed django-mssql in my fresh Django1.4 instance I was greeted by two separate bugs that involved a connection object not being passed around to the django database backend.

/sql-server/pyodbc/base.py line 128 self.features = DatabaseFeatures( )

DatabaseFeatures now expects a connection object as argument 2

/sql-server/pyodbc/operations.py line 10 super(DatabaseOperations, self).init( )

BaseDatabaseOperations.init now expects a connection object as argument 2

In both cases I was able to get a connection to work by passing in connection=None as the second argument but this was just a quick fix. Much more investigation is required.

Comments (5)

  1. Log in to comment