Referencing squashed migrations

53 views
Skip to first unread message

Jarek Glowacki

unread,
Jan 17, 2016, 8:54:20 AM1/17/16
to Django developers (Contributions to Django itself)
Greetings,

Django does not currently support designating unapplied squashed migrations as dependencies.

This feels like bad behaviour, especially since `makemigrations` will reference a squashed migration by default if it has already been applied locally.

I've made a ticket for this, along with submitting a patch that addresses the issue by recursively rerouting dependencies on an unapplied squashed migration to that migration's applicable dependent and replaced migrations.

Would really appreciate it if I could get some feedback on my approach to tackling the issue, and hopefully some thumbs up towards getting it merged! :)

Cheers,

Jarek
Reply all
Reply to author
Forward
0 new messages