You must delete your folder migrations in your app.
Example:
rm -rf myapplication/migrations
And
rm db.sqlite3
and run
python manage.py makemigrations
Pada tanggal Sel, 8 Feb 2022 11.43 AM, 'Delvin Alexander' via Django users <django-users@googlegroups.com> menulis:
I am trying to run migrations so that i can create a table, but when I type out, "python manage.py makemigrations"it returns this: "no changes detected"would anyone know the reason for this?--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHKnc1wvKMjx%2BGMV4bzQ_E%2BoWpLqFi%2BDwjyQ6OUyVSxz_9nqvg%40mail.gmail.com.
No comments:
Post a Comment