django1/django
Simon Charette c8b6594305 Fixed #32632, Fixed #32657 -- Removed flawed support for Subquery deconstruction.
Subquery deconstruction support required implementing complex and
expensive equality rules for sql.Query objects for little benefit as
the latter cannot themselves be made deconstructible to their reference
to model classes.

Making Expression @deconstructible and not BaseExpression allows
interested parties to conform to the "expression" API even if they are
not deconstructible as it's only a requirement for expressions allowed
in Model fields and meta options (e.g. constraints, indexes).

Thanks Phillip Cutter for the report.

This also fixes a performance regression in bbf141bcdc.
2021-04-28 12:13:55 +02:00
..
apps Refs #32355 -- Corrected comments about Python's _NamespacePath. 2021-03-26 10:17:10 +01:00
conf Fixed #31937 -- Eased translation of time strings in some languages. 2021-04-10 20:23:12 +02:00
contrib Fixed #32682 -- Made admin changelist use Exists() instead of distinct() for preventing duplicates. 2021-04-27 10:34:47 +02:00
core Fixed #32665 -- Fixed caches system check crash when STATICFILES_DIRS is a list of 2-tuples. 2021-04-21 09:41:37 +02:00
db Fixed #32632, Fixed #32657 -- Removed flawed support for Subquery deconstruction. 2021-04-28 12:13:55 +02:00
dispatch Refs #31327 -- Removed providing_args argument for Signal per deprecation timeline. 2021-01-14 17:50:04 +01:00
forms Fixed #32316 -- Deferred accessing __file__. 2021-04-01 14:33:30 +02:00
http Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files. 2021-04-06 08:15:17 +02:00
middleware Fixed #31840 -- Added support for Cross-Origin Opener Policy header. 2021-03-30 19:59:24 +02:00
template Refs #24121 -- Added __repr__() to Origin and Template. 2021-03-17 07:49:55 +01:00
templatetags Fixed #18995 -- Made blocktranslate tag raise TemplateSyntaxError when plural count is not a number. 2020-09-29 08:03:51 +02:00
test Fixed #32641 -- Made DiscoverRunner print the number of found tests. 2021-04-15 11:42:46 +02:00
urls Refs #32260 -- Made admindocs and technical 404 debug page use view_func.view_class. 2021-03-30 06:51:27 +02:00
utils Fixed #31937 -- Eased translation of time strings in some languages. 2021-04-10 20:23:12 +02:00
views Refs 32637 -- Made technical 404 debug page display exception message when URL is resolved. 2021-04-27 08:40:52 +02:00
__init__.py Bumped version; master is now 4.0 pre-alpha. 2021-01-14 17:50:04 +01:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Made small readability improvements. 2020-10-28 20:20:20 +01:00