django-pyodbc-azure icon indicating copy to clipboard operation
django-pyodbc-azure copied to clipboard

Create Table no affect

Open my9988 opened this issue 7 years ago • 3 comments

Python2.7.13 64 Django 1.11.2 Pyodbc4.0.16 use SQL SERVER2008 R2,run python manage.py migrate --run-syncdb show Create Table ...,but in fact ,in database ,no any tables existed,don't double INSTALL_APPS,with mysql,oracle,it's OK.

after I try to add connection.commit() OK image

my9988 avatar Jun 03 '17 11:06 my9988

recently I update my project from django 1.6.2 to 1.11.2,with mysql is OK,when use sqlserver2008,have errors,the second problem is when {{form.permissons.as_widget}} image image

my9988 avatar Jun 03 '17 11:06 my9988

I delete some records from table auth_permissons(below 100) ,then run OK

my9988 avatar Jun 03 '17 11:06 my9988

It seems that you're using WDAC Driver (ODBC SQL Server Driver) which is bundled with Windows, and some other people are also facing issues like #111 when they work with the same driver. Why don't you update your database driver to Microsoft ODBC Driver for SQL Server or SQL Server Native Client?

michiya avatar Apr 04 '18 17:04 michiya