No migrations to apply django code example
Example 1: delete all migrations django
find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
find . -path "*/migrations/*.pyc" -delete
Example 2: django not migrating
In Database delete row 'profiles' from the table 'django_migrations'.
Delete all migration files in migrations folder.
Try again python manage.py makemigrations and python manage.py migrate command.