django-sqlserver
django-sqlserver copied to clipboard
get_tables() returns views as well and not just tables
I understand that this is a wrapper to django-mssql but I was wondering if this is a better starting place to ask this. The connections.introspection.table_names() returns views as well. table_names() calls get_tables() which returns all objects and not just tables [1].
I think it will help if we can define not only the kind of objects but also if possible a list of tables that we need inspected. What do you think? Please feel free to correct me or point me to the right direction.
[1] https://bitbucket.org/Manfre/django-mssql/src/d5703fe6ab98181f3878674b7c476ff26c9ba208/sqlserver_ado/introspection.py?at=master#cl-31