Closed GoogleCodeExporter closed 8 years ago
I am having the same issue. I updated from a month old version of django to
revision
12205 and I get the same error.
Original comment by ross.peo...@gmail.com
on 11 Jan 2010 at 6:06
Hopefully this helps, but I just looked at Django's new MySQL backend base.py
file and
it calls self.validation = DatabaseValidation(self).....notice the 'self'
argument which is
not in django-pyodbc revision 173
I added this to my django-pyodbc base.py file and it seems to work
properly....so until a
new revision is released, it seems as though this problem is very easy to
fix...open the
base.py file for django-pyodbc and go to line 114, then add 'self' as the
single argument
to BaseDatabaseValidation()
Original comment by ross.peo...@gmail.com
on 11 Jan 2010 at 6:17
I also had to add this line to operations.py, DatabaseOperations because
BaseDatabaseOperations now has an __init__() function:
super(DatabaseOperations, self).__init__()
Original comment by ross.peo...@gmail.com
on 11 Jan 2010 at 6:34
I'm still having problems with this. Now it's giving me a KeyError at
settings_dict['DATABASE_OPTIONS'] in base.py, line 121. This really needs to be
fixed as
soon as possible, as I am not able to continue developing my project. Priority
should be
changed to critical.
Original comment by ross.peo...@gmail.com
on 11 Jan 2010 at 6:38
Fixed at revision 174.
Original comment by vcc.ch...@gmail.com
on 12 Jan 2010 at 6:41
[deleted comment]
@jordanthecoder, Make sure you update Django AND Django-Pyodbc. Once revision
174 was released, my problems went away.
Original comment by ross.peo...@gmail.com
on 26 Jan 2010 at 12:11
Original issue reported on code.google.com by
garcia.daniel.ee
on 5 Jan 2010 at 10:33Attachments: