pakal / django-compat-patcher

A system to improve compatibility between different Django versions, and make upgrading dependencies less painful.
MIT License
13 stars 2 forks source link

Command syncdb deprecated in 1.7 #14

Closed jayvdb closed 3 years ago

jayvdb commented 4 years ago
  File "/usr/lib/python3.8/site-packages/dmigrations/management/commands/syncdb.py", line 2, in <module>
    from django.core.management.commands.syncdb import Command as Original
ModuleNotFoundError: No module named 'django.core.management.commands.syncdb'

Replaced with makemigrations and migrate . Maybe add an dummy command which emits a helpful error message.

pakal commented 4 years ago

I think the syncdb->migrate transition was loud enough for everyone in Django community to know about it ^^

(PR accepted though)

pakal commented 3 years ago

Django1.7 is getting really old, the focus is now on fixers for Django >= 2.0, to help the ecosystem transition between the 5 latest versions