Squashmigrations and old dependencies

24 views
Skip to first unread message

Ramon NHB

unread,
Oct 10, 2020, 11:55:19 AM10/10/20
to Django users
Hi,

I have a working set of squashed migrations for my program that consists of some 15 applications. The old migration set works fine. The newly created squashed migrations work fine. But when I keep them together (as required for deployment), I run into circular dependency problems when running 'migrate'.

My guess is that the manage 'migrate' command considers all the OLD dependencies. It should of course decide which initial migration it will apply per application and then only look at the dependencies for those migrations. I am worried it considers the old migrations.

I have a work-around, but this could be an improvement to Django (using 3.0).

Ramon

Dvs Khamele

unread,
Oct 11, 2020, 1:00:21 PM10/11/20
to django...@googlegroups.com
Hi do you hire contract based python/django freelancer?
 We can help you in this and related tasks at fair prices. Reply or send email to div...@pythonmate.com
Best Regards, 
Divyesh Khamele,
Pythonmate

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0b103211-b4c2-4866-92c2-c341de46bce6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages