mirror of https://github.com/django/django.git
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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_base.py | ||
test_creation.py | ||
test_features.py | ||
test_operations.py | ||
test_schema.py |