| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-12-10 | Refs #32502 -- Avoided table rebuild when adding fields with no default on ↵ | Mariusz Felisiak | |
| SQLite. | |||
| 2021-12-10 | Fixed DatabaseFeatures.requires_literal_defaults on SQLite. | Mariusz Felisiak | |
| This flag is currently unused on SQLite because it doesn't support dropping a DEFAULT clause, however it requires literal defaults, rather than parameterized ones, so we can set it for clarity. | |||
| 2021-12-10 | Refs #32502 -- Added SchemaEditor.prepare_default() on SQLite. | Mariusz Felisiak | |
| 2021-12-10 | Moved ManagementForm's fields to class attributes. | Adam Johnson | |
| This helps introspection, and it follows the comment in BaseForm.__init__() to avoid changing base_fields. Thanks to Silvio Gutierrez and Baptiste Mispelon for investigating. | |||
| 2021-12-10 | Added test for field names of ManagementForm. | Adam Johnson | |
| 2021-12-10 | Corrected return value of ForeignKey.db_check(). | Adam Johnson | |
| Field.db_check() should return None or a SQL string. Returning [] happened to work because it’s falsey. | |||
| 2021-12-09 | Fixed inspectdb.tests.InspectDBTestCase.test_custom_fields() on SQLite 3.37+. | Mariusz Felisiak | |
| Use FlexibleFieldLookupDict which is case-insensitive mapping because SQLite 3.37+ returns some data type names upper-cased e.g. TEXT. | |||
| 2021-12-09 | Fixed #33340 -- Fixed unquoted column names in queries used by DatabaseCache. | Arsa | |
| 2021-12-09 | Refs #32338 -- Added Boundfield.legend_tag(). | David Smith | |
| 2021-12-08 | Fixed #33319 -- Fixed crash when combining with the | operator querysets ↵ | Ömer Faruk Abacı | |
| with aliases that conflict. | |||
| 2021-12-08 | Refs #33319 -- Added note about commutation of QuerySet's | operator. | Ömer Faruk Abacı | |
| 2021-12-08 | Refs #33319 -- Added comment about keys/values assertion in ↵ | Ömer Faruk Abacı | |
| Query.change_aliases(). | |||
| 2021-12-08 | Fixed #33346 -- Fixed SimpleTestCase.assertFormsetError() crash on a formset ↵ | Baptiste Mispelon | |
| named "form". Thanks OutOfFocus4 for the report. Regression in 456466d932830b096d39806e291fe23ec5ed38d5. | |||
| 2021-12-08 | Fixed #19721 -- Allowed admin filters to customize the list separator. | Shreya Bamne | |
| 2021-12-08 | Refs #19721 -- Corrected list formatting in admin filters docs. | Shreya Bamne | |
| 2021-12-08 | Refs #32290 -- Optimized construct_relative_path() by delay computing ↵ | Keryn Knight | |
| has_quotes. | |||
| 2021-12-07 | Refs #25265 -- Allowed customizing Query's datastructure classes. | Erik Cederstrand | |
| 2021-12-07 | Improved release notes wording for template-based form rendering. | Nick Pope | |
| 2021-12-07 | Fixed #31765 -- Enforced enhanced ALTER TABLE behavior for SQLite connections. | Adam Johnson | |
| 2021-12-07 | Added stub release notes for 4.0.1. | Mariusz Felisiak | |
| 2021-12-07 | Finalized release notes for Django 4.0. | Mariusz Felisiak | |
| 2021-12-07 | Updated asgiref dependency for 4.0 release series. | Mariusz Felisiak | |
| 2021-12-07 | Removed unused map_options JS variable. | Claude Paroz | |
| map_options is not referenced at all in OLMapWidget.js. Unused since 2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0. | |||
| 2021-12-07 | Added CVE-2021-44420 to security archive. | Mariusz Felisiak | |
| 2021-12-07 | Fixed #30530, CVE-2021-44420 -- Fixed potential bypass of an upstream access ↵ | Florian Apolloner | |
| control based on URL paths. Thanks Sjoerd Job Postmus and TengMA(@te3t123) for reports. | |||
| 2021-12-06 | Updated translations from Transifex. | Mariusz Felisiak | |
| This also fixes related i18n tests. Forwardport of 4c5215ab036aa8fda9cd0148fd034f4d8f7d69d1 from stable/4.0.x Co-authored-by: Claude Paroz <claude@2xlibre.net> | |||
| 2021-12-06 | Fixed #33335 -- Made model validation ignore functional unique constraints. | Hannes Ljungberg | |
| Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa. Thanks Hervé Le Roy for the report. | |||
| 2021-12-04 | Refs #33333 -- Fixed ↵ | Mariusz Felisiak | |
| PickleabilityTestCase.test_annotation_with_callable_default() crash on Oracle. Grouping by LOBs is not allowed on Oracle. This moves a binary field to a separate model. | |||
| 2021-12-03 | Fixed #33078 -- Added support for language regions in i18n_patterns(). | Maxim Piskunov | |
| 2021-12-03 | Refs #33078 -- Added extra assertions to ↵ | Mariusz Felisiak | |
| MiscTests.test_get_language_from_path_real(). | |||
| 2021-12-03 | Fixed #33333 -- Fixed setUpTestData() crash with models.BinaryField on ↵ | Mariusz Felisiak | |
| PostgreSQL. This makes models.BinaryField pickleable on PostgreSQL. Regression in 3cf80d3fcf7446afdde16a2be515c423f720e54d. Thanks Adam Zimmerman for the report. | |||
| 2021-12-03 | Fixed #33339 -- Made QuerySet.bulk_create() use TO_NCLOB() for TextFields on ↵ | Georgi Yanchev | |
| Oracle. | |||
| 2021-12-02 | Removed unused country argument from GeoIP2._check_query(). | Nick Pope | |
| Unused since its introduction in 79e68c225b926302ebb29c808dda8afa49856f5c. | |||
| 2021-12-02 | Removed redundant GeoIP2._check_query() calls. | Nick Pope | |
| 2021-12-02 | Removed unused GeoIP2._cache attribute. | Nick Pope | |
| Unused since its introduction in 79e68c225b926302ebb29c808dda8afa49856f5c. | |||
| 2021-12-02 | Moved unnecessary inner import in GeoIP2.geos(). | Nick Pope | |
| 2021-12-02 | Updated various links to HTTPS and new locations. | Mariusz Felisiak | |
| Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-02 | Fixed #33334 -- Alphabetized form and model fields in reference docs. | Shivam Durgbuns | |
| 2021-12-02 | Fixed #33282 -- Fixed a crash when OR'ing subquery and aggregation lookups. | Simon Charette | |
| As a QuerySet resolves to Query the outer column references grouping logic should be defined on the latter and proxied from Subquery for the cases where get_group_by_cols is called on unresolved expressions. Thanks Antonio Terceiro for the report and initial patch. | |||
| 2021-12-02 | Refs #32690 -- Altered lookups Query rhs alterations during initialization. | Simon Charette | |
| Having it happen at the lookup creation time ensures entry points called before the compilation phase (e.g. get_group_by_cols) don't have to duplicate the logic in charge of altering Query instances used as rhs. It also has the nice effect of reducing the amount of time the alteration logic to once as opposed to multiple times if the queryset is compiled more than once. | |||
| 2021-12-01 | Fixed #30398 -- Added CONN_HEALTH_CHECKS database setting. | Przemysław Suliga | |
| The CONN_HEALTH_CHECKS setting can be used to enable database connection health checks for Django's persistent DB connections. Thanks Florian Apolloner for reviews. | |||
| 2021-11-30 | Fixed #33047 -- Fixed CheckConstraint crash with GIS lookups on PostGIS and ↵ | Claude Paroz | |
| MySQL GIS backends. Thanks Daniel Swain for the report and Arsalan Ghassemi for the initial patch. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-11-30 | Added stub release notes and release date for 3.2.10, 3.1.14 and 2.2.25. | Mariusz Felisiak | |
| 2021-11-30 | Refs #25706 - Removed inline JavaScript from OpenLayers template. | Claude Paroz | |
| This allows setting a Content-Security-Policy HTTP header. | |||
| 2021-11-29 | Refs #32800 -- Renamed _sanitize_token() to _check_token_format(). | Chris Jerdonek | |
| 2021-11-29 | Fixed #32800 -- Changed CsrfViewMiddleware not to mask the CSRF secret. | Chris Jerdonek | |
| This also adds CSRF_COOKIE_MASKED transitional setting helpful in migrating multiple instance of the same project to Django 4.1+. Thanks Florian Apolloner and Shai Berger for reviews. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-11-29 | Fixed #32545 -- Improved admin widget for raw_id_fields for UUIDFields. | Shubh1815 | |
| Co-Authored-By: Jerome Leclanche <jerome@leclan.ch> | |||
| 2021-11-29 | Fixed #33322 -- Fixed loss of assigned related object when saving relation ↵ | Hannes Ljungberg | |
| with bulk_update(). | |||
| 2021-11-26 | Refs #33301 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() ↵ | Baptiste Mispelon | |
| raise ValueError for non test client responses. | |||
| 2021-11-26 | Added tests for SimpleTestCase.assertFormError()/assertFormsetErrors(). | Baptiste Mispelon | |
