Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django 1.8 The SchemaEditorClass is None #110

Open
jbrissier opened this issue Mar 31, 2016 · 8 comments
Open

django 1.8 The SchemaEditorClass is None #110

jbrissier opened this issue Mar 31, 2016 · 8 comments

Comments

@jbrissier
Copy link

I try to use django-pyodbc with django 1.7 / 1.8 but i always get the following error:

'The SchemaEditorClass attribute of this database wrapper is still None')
NotImplementedError: The SchemaEditorClass attribute of this database wrapper is still None

My environment:
Django (1.8.11)
django-pyodbc (0.3.0)
pip (7.1.2)
pyodbc (3.0.10)
setuptools (18.2)
wheel (0.24.0)
python 2.7.11

Are migrations supported? Should i disabled them?

@jbrissier jbrissier changed the title django 1.8 The SchemaEditorClass attribute of this database wrapper is still None django 1.8 The SchemaEditorClass is None Mar 31, 2016
@individual-it
Copy link

same problem here, any solutions?

@dulabs
Copy link

dulabs commented Dec 13, 2016

bump! +1

@mikeyu96
Copy link

  • 1

@microcomet
Copy link

microcomet commented Dec 28, 2016

same problem, is this a bug or something wrong in my settings?
My settings:

'dev': {
        'ENGINE': "django_pyodbc",
        'HOST': "xxxxxxxxx,1433",
        'USER': "xxx",
        'PASSWORD': "xxxx",
        'NAME': "dev_wfan",
        'OPTIONS': {
            'driver': 'ODBC Driver 13 for SQL Server',
            'dsn': 'self_mssql',
            'host_is_server': True
        },
    },

@shadiakiki1986
Copy link

shadiakiki1986 commented Oct 3, 2017

Any solutions yet?

EDIT: According to this, with django 1.11 (and even 1.10), the repository to use is django-pyodbc-azure. And if the error Previous SQL was not a query appears on initial migration, check issue 64

@RossRogers
Copy link
Contributor

RossRogers commented Oct 3, 2017 via email

@dlo dlo added the help wanted label Feb 1, 2018
@RossRogers
Copy link
Contributor

This issue is resolved on the trunk and in alpha release 2.0.0a1, using Django 2.0. I am closing this issue, but if this is an unacceptable outcome, please re-open the ticket. If you require this to be backported to the django-1 branch then please feel free to re-open this ticket. Unfortunately, it is likely to remain unresolved, as there may not be any takers on this backporting task. Apologies.

@brianedelman
Copy link

Unfortunately this is still an issue for me with 2.0.0a1 using Django 2.0.2 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

9 participants