how to run migrations in a specific order for the test runner in Django (1.6+)

17 views
Skip to first unread message

kasmi sidi

unread,
Apr 1, 2016, 11:45:42 AM4/1/16
to Django users
is there a way to tell django test runner to run migrations in a certain order?

Sidi

Tim Graham

unread,
Apr 1, 2016, 7:34:06 PM4/1/16
to Django users
Nothing outside of the way that Django normally determines the order in which to run migrations: https://docs.djangoproject.com/en/stable/howto/writing-migrations/#controlling-the-order-of-migrations
Reply all
Reply to author
Forward
0 new messages