mirror of
https://github.com/django/django.git
synced 2025-01-23 08:39:17 +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.