michiya / django-pyodbc-azure

Django backend for Microsoft SQL Server and Azure SQL Database using pyodbc
https://pypi.python.org/pypi/django-pyodbc-azure
BSD 3-Clause "New" or "Revised" License
321 stars 140 forks source link

InspectDb for MS SQL server #165

Open jainsahil1997 opened 6 years ago

jainsahil1997 commented 6 years ago

My models are not populating while executing inspectdb command.

abrunner73 commented 6 years ago

I am having the same problem since I upgraded to Django 1.11.13. When I run inspect db under Django 1.10 and django-pyodbc-azure 1.10 it works fine. Attached are the module versions for each of my environments. The one that works and the one that doesn't.

django_1_10_works.txt django_1_11_notwork.txt

angelqb17 commented 6 years ago

i am having the same problem, hope someone could fix this.

kevin-olbrich commented 6 years ago

You are mixing 1.11.12 with 1.11.13. Did you test Django 1.11.12 with your listed version of django-pyodbc-azure?

Am 27.06.2018 um 00:35 schrieb angelqb17 notifications@github.com:

i am having the same problem, hope someone could fix this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

michiya commented 6 years ago

It might be the same issue as #171. Check that the tables you want to generate models belong to the schema which is the default for your database user.