23👍
✅
Try with python manage.py makemigrations app_name
.
Edit: Django allows you to have apps without migrations within your projects. This is detected with the migrations
folder. If an app does not have it, it won’t create the migrations when using the python manage.py makemigrations
command although you have it in INSTALLED_APPS
. To force an application to work with migrations you need to specify the name of the application. Btw, this is not necessary for applications you create with new versions of Django because they are created with the migrations
folder. This is only necessary when you remove the migrations folder (as you did) or when working with applications created with older versions of Django.
Source:stackexchange.com