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

AutoField at migration #207

Open ghost opened 5 years ago

ghost commented 5 years ago

Does anyone have any initiative to support AutoField at migration?

Using Django and django-pyodbc-azure in the latest version.

AnkurBegining commented 5 years ago

I am facing the same issue @lucasmellos. I am trying to use another open source library djnago_q in my Django app where I am using Microsoft SQL server for my Database requirements. When I am trying to run python manage.py migrate after installing djnago_q. I face the following error.

  raise NotImplementedError("the backend doesn't support altering from/to %s." % t.__name__)
NotImplementedError: the backend doesn't support altering from/to AutoField.

In django_q migration file, it is using AutoField.

Django version 2.1.8 Python version 3.6.8 @michiya Please see this issue.

dakzh commented 5 years ago

samirpkrl commented 4 years ago

Did you find the solution ?