mirror of
https://github.com/Hopiu/django.git
synced 2026-03-27 03:10:23 +00:00
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 | ||