summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-17[4.1.x] Bumped version for 4.1 alpha 1 release.4.1a1Carlton Gibson
2022-05-17[4.1.x] Refs #33379 -- Fixed minimum supported version of MariaDB.Mariusz Felisiak
Backport of 2cec020f5bc462954d902bdad1a5955852cecff6 from main
2022-05-17[4.1.x] Updated source translation catalogs.Mariusz Felisiak
2022-05-17[4.1.x] Bumped django_next_version in docs config.Carlton Gibson
2022-05-17Updated man page for Django 4.1 alpha.Carlton Gibson
2022-05-17Removed empty sections from 4.1 release notes.Carlton Gibson
2022-05-17Refs #32339 -- Deprecated default.html form template.David Smith
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-05-17Update docs/releases/4.1.txtAlokik Vijay
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-05-17Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs.Alokik Vijay
Moved the functionality of URLResolver._is_callback(), URLResolver._callback_strs, URLPattern.lookup_str() to django.contrib.admindocs.
2022-05-17Fixed #33683 -- Document HttpResponseBase and allow import from django.httpCollin Anderson
2022-05-17Refs #27064 -- Made migrations generate RenameIndex operations when moving ↵David Wobrock
indexes from index_together to Meta.indexes.
2022-05-17Refs #27064 -- Refactored out MigrationAutodetector.create_renamed_fields().David Wobrock
2022-05-16Refs #27064 -- Made migrations generate RenameIndex operations when renaming ↵David Wobrock
Meta.indexes.
2022-05-16Fixed #33710 -- Made RenameIndex operation a noop when the old and new name ↵David Wobrock
match.
2022-05-16Refs #33685 -- Doc'd that using PostgreSQL's service names for testing ↵Mariusz Felisiak
purposes is not supported.
2022-05-16Fixed #27550 -- Allowed GEOSGeometry.normalize() to return a normalized clone.Marcelo Galigniana
2022-05-16Fixed #33681 -- Made Redis client pass CACHES["OPTIONS"] to a connection pool.Mariusz Felisiak
Thanks Ben Picolo for the report.
2022-05-13Added backward compatibility test for ConnectionHandler.databases property.Nick Pope
The ConnectionHandler.databases property is no longer used within Django, but it is maintained for backward compatibility with 3rd party packages that have used this private API in the past.
2022-05-13Fixed #33704 -- Updated postgres_tests migrations.Mariusz Felisiak
2022-05-13Fixed typo in Query.clone()'s docstring.非法操作
2022-05-12Refs #27064 -- Added RenameIndex migration operation.David Wobrock
2022-05-12Made closing in connection handlers more DRY.Nick Pope
2022-05-12Fixed #32559 -- Added 'step_size’ to numeric form fields.Kapil Bansal
Co-authored-by: Jacob Rief <jacob.rief@uibk.ac.at>
2022-05-12Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy ↵Mariusz Felisiak
and Expression.asc()/desc(). Thanks Allen Jonathan David for the initial patch.
2022-05-12Fixed #29538 -- Fixed crash of ordering by related fields when Meta.ordering ↵Ed Rivas
contains expressions. Thanks Simon Charette for the review.
2022-05-11Refs #33173 -- Removed use of deprecated cgi module.Carlton Gibson
https://peps.python.org/pep-0594/#cgi
2022-05-11Fixed #33691 -- Deprecated django.contrib.auth.hashers.CryptPasswordHasher.Mariusz Felisiak
2022-05-10Fixed #33622 -- Allowed customizing error messages for invalid number of forms.Marc Seguí Coll
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-05-10Fixed #30581 -- Added support for Meta.constraints validation.Gagaro
Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews.
2022-05-10Refs #33173, Refs #30451 -- Fixed ResourceWarning from unclosed body files ↵Mariusz Felisiak
in ASGI handler on Python 3.11+.
2022-05-09Refs #33173 -- Fixed test_dateparse tests on Python 3.11+.Mariusz Felisiak
date/datetime/time.fromisoformat() support any valid ISO 8601 format in Python 3.11+, see https://github.com/python/cpython/issues/80010.
2022-05-06Corrected extract_views_from_urlpatterns()'s docstring.Nikita Sobolev
2022-05-06Fixed #33679 -- Fixed the last inline's id in admin for users without add ↵Daniel Hahler
permissions.
2022-05-06Fixed #33680 -- Corrected example of customizing model loading in docs.Ali Toosi
2022-05-05Fixed #32339 -- Added div.html form template.David Smith
2022-05-05Refs #30581 -- Moved CheckConstraint tests for conditional expressions to ↵Mariusz Felisiak
migrations.test_operations. This allows avoiding warning in tests about using RawSQL in CheckConstraints.
2022-05-04Corrected example in Polygon docstring.Stefan Brand
2022-05-04Fixed #25105 -- Checked deferred constraints before updating rows on PostgreSQL.David Wobrock
2022-05-04Refs #32339 -- Restructured outputting HTML form docs.Carlton Gibson
In the topic doc, promoted the Reusable form templates section. In the reference, re-grouped and promoted the default __str__() rendering path, and then gathered the various as_*() helpers subsequently. Thanks to David Smith for review.
2022-05-04Refs #30581 -- Added Q.check() hook.Gagaro
2022-05-04Refs #33646 -- Reduced sync_to_async hops on async QuerySet iteration.Simon Charette
Until we add support for truly asynchronous database backends it's actually detrimental to have complete set retrieval require multiple hops between sync and async emulated contexts via asgiref. By defaulting to sending the whole sync _fetch_all() to the current context thread pool we reduce unncessary work when dealing with large result sets since the queryset cannot be iterated anyway before all results are retrieved and cached.
2022-05-04Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.Mariusz Felisiak
2022-05-03Refs #30581 -- Added Q.flatten().Gagaro
2022-05-03Fixed #33658 -- Doc'd ModelChoiceField.blank attribute.Alokik Vijay
Thanks Mariusz Felisiak for reviewing.
2022-05-03Fixed CoveringIndexTests.test_covering_partial_index() when ↵Mariusz Felisiak
DEFAULT_INDEX_TABLESPACE is set.
2022-05-03Fixed #29854 -- Made _all_related_fields() return deterministically ordered ↵Collin Anderson
fields. Thanks to Rick Yang and Baptiste Mispelon for the investigation.
2022-05-03Updated release date for Django 4.0.5.Carlton Gibson
2022-05-03Fixed #33667 -- Used --header-branding-color for branding headers in admin.Hrushikesh Vaidya
2022-05-02Refs #33646 -- Made QuerySet.raw() async-compatible.Mariusz Felisiak
2022-05-02Refs #33646 -- Added RawModelIterable.Mariusz Felisiak