You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new makemigrations command provides an easy way to autodetect changes to your models and make migrations for them.
django.db.models.signals.pre_syncdb and django.db.models.signals.post_syncdb have been deprecated, to be replaced by pre_migrate and post_migrate respectively. These new signals have slightly different arguments. Check the documentation for details.
Need to run:
manage.py makemigrations django_messages
to create tables.
The text was updated successfully, but these errors were encountered:
works without any errors. But this command didn't create the tables. Did you have any workaround? (Django Version: 1.9.1)
I tried the command "manage.py migrate django_messages" and got the following error:
site-packages/django_messages/management.py", line 1, in <module>
from django.db.models import get_models, signals
ImportError: cannot import name get_models
file concerned management.py
https://docs.djangoproject.com/en/1.9/releases/1.9/
https://docs.djangoproject.com/en/1.9/releases/1.7/#deprecated-features-1-7
A new makemigrations command provides an easy way to autodetect changes to your models and make migrations for them.
django.db.models.signals.pre_syncdb and django.db.models.signals.post_syncdb have been deprecated, to be replaced by pre_migrate and post_migrate respectively. These new signals have slightly different arguments. Check the documentation for details.
Need to run:
to create tables.
The text was updated successfully, but these errors were encountered: