[Debugging] No migrations to apply. in Django

 when you run python manage.py migrate   in command


You may see " No migrations to apply. "



Solution; following in command

python manage.py migrate --fake app_name zero


let's say if you have app name : pipi 

python manage.py migrate --fake pipi zero


and then you command   python manage.py migrate  again, you'll see them fixed !

Popular posts from this blog

[Python] Dictionary

[Visual Design 2/3]

[JavaScript] For loop , Function