Search code examples
djangomigration

Django migrations not applied


I am trying to do the portfolio project and when doing the migration part, I get this:

Operations to perform: Apply all migrations: projects Running migrations: No migrations to apply.

What am I doing wrong? I am following the exact steps written on the document

I tried looking on google and could not find any good answers, please help.


Solution

  • try this:

    python manage.py makemigrations <app name>
    python manage.py migrate <app name>