Re: Order of migration dependencies when running makemigrations from scratch

2018-12-10 Thread Dakota Hawkins
/migrations/graph.py#L85-L120 > > Le dimanche 9 décembre 2018 19:09:42 UTC-5, Dakota Hawkins a écrit : >> >> Hi Simon! >> >> Thanks for the information, I'll submit a feature request! I dug through >> the code a bit and the one thing that concerned me a l

Re: Order of migration dependencies when running makemigrations from scratch

2018-12-09 Thread Dakota Hawkins
terministic. It should be > a simple matter of using sorted in MigrationWriter.as_string[0]. > > Cheers, > Simon > > [0] > https://github.com/django/django/blob/79c196cfb287893aadc6b0e74603ffde1512170e/django/db/migrations/writer.py#L156-L164 > > Le vendredi 7 décembre 2018 00:51:58 U

Order of migration dependencies when running makemigrations from scratch

2018-12-06 Thread Dakota Hawkins
We haven't really deployed yet, so generally to make migrations we're deleting existing migration files and re-running makemigrations. We have two apps, and one of them depends on the other as well as django.contrib.auth. In that app's migrations the dependencies often swap order seemingly inde