summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2021-10-01Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+.Nick Pope
2021-10-01Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres.Nick Pope
2021-10-01Fixed typo in exception message for GiST indexes and exclusion constraints.Nick Pope
2021-10-01Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() on ↵Daniel Hahler
PostgreSQL.
2021-09-30Fixed #33029 -- Allowed multiple popups for self-related fields in admin.Yash Jhunjhunwala
2021-09-30Optimized @async_unsafe.Adam Johnson
Switched the order of the checks to reduce the overhead. Async unsafe methods are *normally* called syncrhonously, so we can avoid the overhead of checking the environment variable in the regular path.
2021-09-30Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable.Aljaž Košir
2021-09-30Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to ↵Mariusz Felisiak
create a shallow copy of children." This reverts commit e441847ecae99dd1ccd0d9ce76dbcff51afa863c. A shallow copy is not enough because querysets can be reused and evaluated in nested nodes, which shouldn't mutate JOIN aliases. Thanks Michal Čihař for the report.
2021-09-29Fixed #33018 -- Fixed annotations with empty queryset.David Wobrock
Thanks Simon Charette for the review and implementation idea.
2021-09-29Fixed #33141 -- Renamed Expression.empty_aggregate_value to ↵David Wobrock
empty_result_set_value.
2021-09-29Fixed #33027 -- Made autoreloader pass -X options.Chenyang Yan
2021-09-29Fixed #33134 -- Fixed recursion depth error when rendering Form with ↵David Smith
BoundFields. Regression in 456466d932830b096d39806e291fe23ec5ed38d5.
2021-09-28Fixed #33033 -- Prevented models.DecimalField from accepting NaN values.Chinmoy Chakraborty
2021-09-28Fixed #33125 -- Avoided redundant unique constraint when converting a ↵Jordan Bae
non-unique field to primary key on MySQL and PostgreSQL.
2021-09-27Fixed #33136 -- Added GEOSGeometry.make_valid() method.Claude Paroz
2021-09-27Used Path.read_text() in jinja2.get_exception_info().Mariusz Felisiak
2021-09-27Refs #32355 -- Used @functools.lru_cache as a straight decorator.Mariusz Felisiak
2021-09-27Refs #32355 -- Modernized subprocess.run() calls.Adam Johnson
2021-09-27Fixed #33114 -- Defined default output_field of StringAgg.ali
Thanks Simon Charette for the review.
2021-09-24Fixed #33124 -- Avoided accessing the database connections when not necessary.Keryn Knight
Follow up to bf5abf1bdcedb15e949db419c61eeec7c88414ea. This also caches the __getitem__ access.
2021-09-24Fixed #33130 -- Restored form errors to be a dict.Jaap Roes
Regression in 456466d932830b096d39806e291fe23ec5ed38d5.
2021-09-24Fixed #33132 -- Fixed test client handling of querystring only redirects.Jaap Roes
Regression in 1e5aa8e1c79252cc810af21294a6e945d11d37b3.
2021-09-24Fixed #33127 -- Added error messages on | and & operators with combined ↵Hasan Ramezani
querysets.
2021-09-23Refs #33129 -- Added missing return statement.Carlton Gibson
Thanks to Claude Paroz for spotting it. Regression in 221b2f85febcf68629fc3a4007dc7edb5a305b91.
2021-09-23Fixed #33133 -- Fixed handling NullBooleanField in historical migrations.Mariusz Felisiak
Regression in d992f4e3c29a81c956d3d616f0bc19701431b26e.
2021-09-22Fixed #32499 -- Escaped additional metacharacters in simplify_regex().Nick Pope
2021-09-22Refs #32499 -- Fixed escaped metacharacters in simplify_regex().Nick Pope
2021-09-22Refs #32499 -- Added metacharacters helper for simplify_regex().Nick Pope
2021-09-22Fixed #33129 -- Dropped support for MariaDB 10.2.Mariusz Felisiak
2021-09-22Optimized handling case-insensitive mappings.Illia Volochii
Elements yielded by _destruct_iterable_mapping_values are always unpacked. Since unpacking can be done with any iterable, there is no need to convert elements to tuples. Also, such elements can be used directly in for loops, creating a dictionary of them is excessive. Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2021-09-21Fixed #33083 -- Fixed selecting all items in the admin changelist when ↵Carlton Gibson
actions are both top and bottom. Thanks Benjamin Locher for the report. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b.
2021-09-21Updated source translation catalogs.Mariusz Felisiak
Forwardport of 5b8cc4ce2679dbf45c257a57a93307201e52e5b6 from stable/4.0.x.
2021-09-21Fixed #33111 -- Fixed passing object to ModelAdmin.get_inlines() when ↵Hasan Ramezani
editing in admin change view. ModelAdmin.get_inlines() should get an unmutated object when creating formsets during POST request.
2021-09-21Refs #32204 -- Replaced three dots with ellipsis in navigation sidebar template.Mariusz Felisiak
2021-09-21Fixed #33070 -- Fixed loading translations with language subtags in admin's ↵Cleiton Lima
Select2 widget.
2021-09-20Increased the default PBKDF2 iterations for Django 4.1.Mariusz Felisiak
2021-09-20Advanced deprecation warnings for Django 4.1.Mariusz Felisiak
2021-09-20Refs #32191 -- Removed for the pre-Django 3.2 format of messages in ↵Mariusz Felisiak
CookieStorage. Per deprecation timeline.
2021-09-20Refs #32193 -- Removed MemcachedCache per deprecation timeline.Mariusz Felisiak
2021-09-20Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when ↵Mariusz Felisiak
compared to string values. Per deprecation timeline.
2021-09-20Refs #31180 -- Removed default_app_config application configuration variable ↵Mariusz Felisiak
per deprecation timeline.
2021-09-20Refs #31670 -- Removed whitelist argument and domain_whitelist attribute in ↵Mariusz Felisiak
EmailValidator per deprecation timeline.
2021-09-20Refs #31546 -- Removed support for boolean values in ↵Mariusz Felisiak
Command.requires_system_checks. Per deprecation timeline.
2021-09-20Refs #31395 -- Removed support for assigning objects which don't support ↵Mariusz Felisiak
deepcopy() in setUpTestData(). Per deprecation timeline.
2021-09-20Bumped version; main is now 4.1 pre-alpha.Mariusz Felisiak
2021-09-20Fixed #31026 -- Switched form rendering to template engine.David Smith
Thanks Carlton Gibson, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews. Co-authored-by: Johannes Hoppe <info@johanneshoppe.com>
2021-09-20Refs #27624 -- Optimized Query.clone() for non-combined queries.Keryn Knight
This avoids constructing a generator expression and a new tuple if the Query has no combined queries.
2021-09-20Fixed #32970 -- Changed WhereNode.clone() to create a shallow copy of children.Keryn Knight
2021-09-20Fixed #32504 -- Updated admin's jQuery to 3.6.0.Mariusz Felisiak
2021-09-18Fixed #33077 -- Fixed links to related models for admin's readonly fields in ↵Ken Whitesell
custom admin site.