Migration Admin.0001_initial Is Applied Before Its Dependency App.0001_initial On Database 'default'
I am trying to make custom made user model for my project in Django. My models.py: class myCustomeUser(AbstractUser): id = models.AutoField(primary_key=True) username = mod
Solution 1:
I also had the same problem, but I just deleted my migrations from every app, and drop the database, and created a new one. And use `
python manage.py makemigrations
python manage.py migrate
to make new migrations and everything is working as it should be.
Post a Comment for "Migration Admin.0001_initial Is Applied Before Its Dependency App.0001_initial On Database 'default'"