When I do "makemigrations" I get do "makemigrations"

Question:

I removed all migration files from my django project and now when i want to re-create i get this

 ./manage.py makemigrations
 INFO: AXES: BEGIN LOG :: [axes.apps] 2022-09-15 16:51:59,923 - 
 /home/mixnosha/work_MVD/MVD_LTP/MVD_LTP-ltp/venv/lib/python3.10/site- 
 packages/axes/apps.py:33
 INFO: AXES: Using django-axes version 5.31.0 :: [axes.apps] 2022-09-15 16:51:59,926 
 - /home/mixnosha/work_MVD/MVD_LTP/MVD_LTP-ltp/venv/lib/python3.10/site- 
 packages/axes/apps.py:34
 INFO: AXES: blocking by IP only. :: [axes.apps] 2022-09-15 16:51:59,927 - 
 /home/mixnosha/work_MVD/MVD_LTP/MVD_LTP-ltp/venv/lib/python3.10/site- 
 packages/axes/apps.py:46
 No changes detected

./manage.py migrate
Operations to perform:
Apply all migrations: admin, auth, axes, base_information, contenttypes, 
django_celery_beat, sessions
Running migrations:
No migrations to apply.
Your models in app(s): 'admin', 'auth', 'axes', 'contenttypes', 'sessions' have 
changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py 
migrate' to apply them.

Recommend something

Asked By: Maksim Smolovsky

||

Answers:

Do you still have a migrations folder in each app with an init.py file?

Edit: Looks like this was the accepted answer. To anyone who stumbles across this: Without an init.py file django will not recognize the migrations folder. Creating an init.py file will solve this problem.

Answered By: Lewis Fletcher