1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/backends
Matthijs Kooijman 289d0ec6fd Refs #31051 -- Fixed reloading the database with circular related objects and natural keys for tests.
Made deserialize_db_from_string() do not sort dependencies.

deserialize_db_from_string() doesn't use natural keys, so there is no
need to sort dependencies in serialize_db_to_string(). Moreover,
sorting models cause issues for circular dependencies.
2020-04-02 11:35:33 +02:00
..
base Refs #31051 -- Fixed reloading the database with circular related objects and natural keys for tests. 2020-04-02 11:35:33 +02:00
mysql Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
oracle Fixed backends tests on Oracle. 2020-02-24 14:21:50 +01:00
postgresql Fixed #31233 -- Closed database connections and cursors after use. 2020-02-06 15:35:23 +01:00
sqlite Fixed #31228 -- Reallowed aggregates to be used with multiple expressions and no DISTINCT on SQLite. 2020-02-18 10:32:23 +01:00
__init__.py
models.py Refs #31051 -- Fixed reloading the database with circular related objects and natural keys for tests. 2020-04-02 11:35:33 +02:00
test_ddl_references.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-06-26 10:30:31 -04:00
test_utils.py Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
tests.py Fixed #31271 -- Preserved ordering when unifying query parameters on Oracle. 2020-02-18 11:45:12 +01:00