mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
98f23a8af0
deserialize_db_from_string() loads the full serialized database contents, which might contain forward references and cycles. That caused IntegrityError because constraints were checked immediately. Now, it loads data in a transaction with constraint checks deferred until the end of the transaction. |
||
---|---|---|
.. | ||
base | ||
mysql | ||
oracle | ||
postgresql | ||
sqlite | ||
__init__.py | ||
models.py | ||
test_ddl_references.py | ||
test_utils.py | ||
tests.py |