question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

django 4.0.0 missing migrations

See original GitHub issue

Describe the bug

  1. Install django >= 4.0 and latest djstripe
  2. ./manage.py migrate
  Your models in app(s): 'djstripe' have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.

No such warning is generated with django < 4.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jleclanchecommented, Apr 26, 2022

@czue Sorry for the late response. Yes. Working on it for next week.

0reactions
jleclanchecommented, May 27, 2022

@edomora97 There is an alpha out now that has this fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing migration for Django 4.0.1? · Issue #1067 - GitHub
My understanding from @Andrew-Chen-Wang was that there was a known bug with 4.0.0 having to do with creating an unnecessary migration that ...
Read more >
Django project is missing migrations, prodcution and ...
Migrations have two purposes: 1. Creating schema of database, 2. Migrating existing data of database (For example when you change a field ...
Read more >
Migrations - Django documentation
Migrations are Django's way of propagating changes you make to your models (adding a field, deleting a model, etc.) into your database schema....
Read more >
django-reset-migrations - Python package - Snyk
We found a way for you to contribute to the project! Looks like django-reset-migrations is missing a security policy. You can connect your...
Read more >
Changelog — django-dynamic-preferences 1.14.0 ...
You should have 'dynamic_preferences.users.apps.UserPreferencesConfig' in your installed apps. If python manage.py migrate fails with ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found