1
0
mirror of https://github.com/django/django.git synced 2025-04-23 00:34:37 +00:00
Florian Apolloner 405b13fe83 Fixed migrate when called inside a transaction.
This is useful for tests manually calling migrate inside a testcase,
for normal usage this should make no difference, since there is no
surrounding transaction after all. If there is one we still try to
leave the transaction in a useable state (for postgres at least).

If this commit turns out to be causing issues, settings savepoint=False
is probably the right fix :)
2014-04-21 15:37:12 +02:00
..
2014-04-21 12:27:34 +02:00
2014-04-21 12:27:34 +02:00
2014-04-21 12:27:34 +02:00