django1/django/contrib
Simon Charette 9f3cce172f Refs #26430 -- Re-introduced empty aggregation optimization.
The introduction of the Expression.empty_aggregate_value interface
allows the compilation stage to enable the EmptyResultSet optimization
if all the aggregates expressions implement it.

This also removes unnecessary RegrCount/Count.convert_value() methods.
Disabling the empty result set aggregation optimization when it wasn't
appropriate prevented None returned for a Count aggregation value.

Thanks Nick Pope for the review.
2021-07-02 07:25:42 +02:00
..
admin Fixed #32884 -- Fixed centering of the header on admin login page. 2021-06-29 07:41:52 +02:00
admindocs Updated translations from Transifex. 2021-06-28 07:08:39 +02:00
auth Updated translations from Transifex. 2021-06-28 07:08:39 +02:00
contenttypes Updated translations from Transifex. 2021-04-06 06:19:31 +02:00
flatpages Updated translations from Transifex. 2021-06-28 07:08:39 +02:00
gis Fixed #32721 -- Fixed migrations crash when adding namespaced spatial indexes on PostGIS. 2021-05-14 07:10:28 +02:00
humanize Fixed #31937 -- Eased translation of time strings in some languages. 2021-04-10 20:23:12 +02:00
messages Refs #24121 -- Added __repr__() to ChangeList and BaseStorage. 2021-06-07 06:31:50 +02:00
postgres Refs #26430 -- Re-introduced empty aggregation optimization. 2021-07-02 07:25:42 +02:00
redirects Updated translations from Transifex. 2021-06-28 07:08:39 +02:00
sessions Fixed #32829 -- Updated help text for clearsessions management command. 2021-06-09 12:08:59 +02:00
sitemaps Fixed #32375 -- Started deprecation toward changing the default sitemap protocol to https. 2021-05-21 11:00:54 +02:00
sites Fixed #31007 -- Allowed specifying type of auto-created primary keys. 2020-12-15 11:25:46 +01:00
staticfiles Fixed #32716 -- Fixed ManifestStaticFilesStorage crash when max_post_process_passes is 0. 2021-06-07 07:56:20 +02:00
syndication Fixed #32366 -- Updated datetime module usage to recommended approach. 2021-05-12 11:08:41 +02:00
__init__.py