django1/django
Simon Charette 3cf80d3fcf Fixed #31395 -- Made setUpTestData enforce in-memory data isolation.
Since it's introduction in Django 1.8 setUpTestData has been suffering
from a documented but confusing caveat due to its sharing of attributes
assigned during its execution with all test instances.

By keeping track of class attributes assigned during the setUpTestData
phase its possible to ensure only deep copies are provided to test
instances on attribute retreival and prevent manual setUp gymnastic to
work around the previous lack of in-memory data isolation.

Thanks Adam Johnson for the extensive review.
2020-05-15 20:22:52 +02:00
..
apps Removed unnecessary tuple wrapping of single format string argument. 2020-04-27 08:30:16 +02:00
bin Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin. 2019-12-06 12:11:44 +01:00
conf Updated source translation catalogs. 2020-05-11 21:34:46 +02:00
contrib Fixed #31590 -- Fixed ModelAdmin.date_hierarchy crash with an empty QuerySet. 2020-05-15 06:35:10 +02:00
core Fixed #31552 -- Added support for LZMA and XZ fixtures to loaddata. 2020-05-15 11:30:28 +02:00
db Fixed #31584 -- Fixed crash when chaining values()/values_list() after Exists() annotation and aggregation on Oracle. 2020-05-14 15:07:08 +02:00
dispatch Fixed #31327 -- Deprecated providing_args argument for Signal. 2020-03-05 09:38:52 +01:00
forms Fixed E128, E741 flake8 warnings. 2020-05-12 08:52:23 +02:00
http Fixed E128, E741 flake8 warnings. 2020-05-12 08:52:23 +02:00
middleware Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments. 2020-05-04 12:10:47 +02:00
template Refs #30116 -- Simplified regex match group access with Match.__getitem__(). 2020-05-11 12:01:28 +02:00
templatetags Refs #30585 -- Updated project templates and tests to use (block)translate tags. 2019-12-18 13:15:38 +01:00
test Fixed #31395 -- Made setUpTestData enforce in-memory data isolation. 2020-05-15 20:22:52 +02:00
urls Refs #30116 -- Simplified regex match group access with Match.__getitem__(). 2020-05-11 12:01:28 +02:00
utils Updated logging calls to use arguments instead of string interpolation. 2020-05-13 09:12:18 +02:00
views Refs #30116 -- Simplified regex match group access with Match.__getitem__(). 2020-05-11 12:01:28 +02:00
__init__.py Bumped version; master is now 3.2 pre-alpha. 2020-05-13 09:07:51 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Refs #25978 -- Removed shortcuts.render_to_response() per deprecation timeline. 2019-01-17 10:50:25 -05:00