pythondjangodjango-migrationsdjango-1.11

django : makemigrations process does not end


when i run python manage.py makemigrations and migrate every thing is ok and changes are made but process does not end and I must press control+z to end process

why this happend?? is it normal?

db backend : mysql python 2.7 django 1.11 OS: ubuntu 16.04 TLS

EDIT: because threading I using threading and it make problem in migration and makemigration


Solution

  • In my case the problem was, that I have started a thread from views.py. And this thread was running forever. Django could not end, inclusing the migration calls, until this thread was ended. Removing the thread solved the problem.