[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

Lists on the main page, linking to the certain direction ! {{% Django %}}

[Visual Design 2/3]

[CSS 3/3] Body Element, Override, Hex, RGB, Fallback, Inherit(Root)