Minimal MS Sql Server patch for syncdb
|Reported by:||adamv||Owned by:||adamv|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
There are a lot of open bugs for improving SQL Server support in Django.
Eventually I want to help on the task that's migrating from adodbapi, but I needed something that "works now".
I've included a MINIMAL patch for the existing ado_mssql backend: It fixes the %s/? parameter issue and includes a bare-bones table inspector.
(It does not address LIMIT/TOP, time resolution, etc.)
Basically, this allows a "manage.py syncdb" to run against this backend, and create the default auth_/django_ tables and insert data, something that trunk wasn't doing for me.
I'd love to add any tests this patch needs, if someone can point me to how to get the unit tests running.
Change History (5)
Changed 6 years ago by adamv
comment:1 Changed 6 years ago by adamv
- Needs documentation unset
- Needs tests unset
- Owner changed from nobody to adamv
- Patch needs improvement unset