About Django Migration Dependencies
In Django migrations it is possible to make a migration dependent on whatever was the latest migration of another app.
With caution, you can use it with interdependent third-party apps. For example, migrate custom Django CMS plugins only when the Django CMS itself was migrated:
class Migration(migrations.Migration):
dependencies = [
("cms", "__latest__"),
]
operations = [
]
Tips and Tricks Programming Databases Django 4.2 Django 3.2 Django 2.2
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.