summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-29Refs #35064 -- Made OrderableAggMixin avoid creating empty OrderByList.Simon Charette
This paves the way for making OrderByList a simple shim over ExpressionList which requires at least a single item to be provided.
2023-12-29Corrected method/function wording in tutorial 3.Mohammad Yameen
2023-12-29Added backticks around name argument in tutorial 3.virgitl.io
2023-12-28Corrected code-block directives in docs.Mariusz Felisiak
2023-12-28Removed unnecessary list() calls on sorted().Christian Clauss
2023-12-28Fixed #35065 -- Corrected border color for autocomplete fields with errors ↵Rigoberto Villalta
in admin.
2023-12-28Improved DEFAULT_FROM_EMAIL/SERVER_EMAIL docs.David D Lowe
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
2023-12-27Fixed #35056 -- Fixed system check crash on reverse m2m relations with ↵Mariusz Felisiak
related_name in ModelAdmin.filter_horizontal/vertical. Thanks Thomas Feldmann for the report. Regression in 107865780aa44914e21d27fdf4ca269bc61c7f01.
2023-12-27Refs #35058 -- Made OGRGeomType aware of additional WKB geometry types.David Smith
This commit increases OGRGeomType's knowledge of WKB types and allows for improved error messages when Django doesn't yet have a corresponding class to wrap a given type.
2023-12-27Improved cache.tests.FileBasedCacheTests.test_touch to avoid flakiness due ↵Natalia
to slow file system access.
2023-12-26Refs #35058 -- Added __repr__() to OGRGeomType.David Smith
2023-12-23Fixed #35050 -- Fixed prefixing field names in FilteredRelation().David Wobrock
Thanks Mark Zorn for the report. Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
2023-12-23Refs #35058 -- Added support for WKB > 2GB with GDAL 3.3+.David Smith
GDAL 3.3.0 added OGR_G_WkbSizeEx() and OGR_G_CreateFromWkbEx() to handle WKB > 2GB. Prefer these new functions when available. https://github.com/OSGeo/gdal/blob/master/NEWS.md#ogr-330---overview-of-changes
2023-12-22Fixed #35022 -- Fixed RenameIndex() crash on unnamed indexes if exists ↵David Wobrock
unique constraint on the same fields.
2023-12-22Fixed #35054 -- Fixed crash on Oracle when fetching JSONFields with oracledb ↵Mariusz Felisiak
2.0.0.
2023-12-22Fixed #34658 -- Added SimpleTestCase.assertNotInHTML().Nicolas Lupien
2023-12-22Fixed #35008 -- Added CSS rule for <input> HTML tags with no type.Rapha S
Minifiers remove the default (text) "type" attribute from "input" HTML tags. This adds input:not([type]) to make the CSS stylesheet work the same.
2023-12-21Fixed #35005 -- Confirmed support for GDAL 3.8.David Smith
2023-12-20Fixed #35049 -- Dropped support for GDAL 2.4.David Smith
2023-12-20Fixed #35048 -- Dropped support for PROJ 5.x.David Smith
2023-12-20Fixed #35015 -- Updated MySQL notes in migrations topic.Nicolas Lupien
2023-12-19Doc'd that users with unusable passwords cannot request a password reset.Amin Shah Gilani
2023-12-18Fixed #34411 -- Updated GDAL API to handle vector DataSource's.Claude Paroz
Co-authored-by: David Smith <smithdc@gmail.com>
2023-12-16Fixed #35042 -- Fixed a count() crash on combined queries.Simon Charette
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7. Thanks Marcin for the report.
2023-12-16Refs #34013 -- Registered instance lookups as documented in tests.Simon Charette
2023-12-15Fixed #34909 -- Associated links in admin navigation sidebar with row ↵Eliana Rosselli
descriptions. This adds aria-describedby attribute to the models' links in the admin navigation sidebar. Thanks Thibaud Colas for the review. Co-authored-by: Dara Silvera <dsilvera@octobot.io>
2023-12-15Refs #34909 -- Made cosmetic edits to admin navigation template.Eliana Rosselli
2023-12-15Fixed database connection for other alias in PostgreSQL tests on GitHub Actions.Nick Pope
2023-12-15Added missing import in docs/ref/models/expressions.txt.Viicos
2023-12-15Fixed typos in docs.Mariusz Felisiak
2023-12-15Updated examples for 2.0+ release numbering in installation FAQ.Christian Clauss
2023-12-14Added clarifications about the DATABASES.TIME_ZONE setting in docs.David Sanders
These include: - Doc'd which is the default used when DATABASES.TIME_ZONE is None. - Doc'd that the database connection's time zone setting is set for PostgreSQL and clarified that it may be necessary to set it to the same value as TIME_ZONE. Co-authored-by: David Smith <39445562+smithdc1@users.noreply.github.com> Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com>
2023-12-14Fixed HTML code snippet in Tutorial's part 7 when customizing the admin's ↵Nanami
site header.
2023-12-14Fixed #35000 -- Skipped declaring empty string defaults on BLOB/TEXT field ↵Tobias Krönke
on MySQL. Empty string defaults are redundant on MySQL and prevent use of ALGORITHM=INSTANT.
2023-12-14Refs #32503 -- Added assertion for effective default value when altering ↵Tobias Krönke
TextField to non-nullable with default.
2023-12-14Fixed #35032 -- Corrected Char32UUIDField implementation in 5.0 release notes.Emanuel Andrecut
This fixes Char32UUIDField implementation in 5.0 release notes causing records with UUIDFields created using pre-Django 5.0 and CHAR(32) not being able to be saved anymore after upgrading and keeping the CHAR(32) columns. Regression in 7cd187a5ba58d7769039f487faeb9a5a2ff05540.
2023-12-14Used model's Options.model_name instead of object_name.lower().Mariusz Felisiak
Follow up to 20d487c27b40bb70496ddc7419011ca78b7d4940.
2023-12-13Removed unnecessary write permission from screenshots Github workflow.Tom Carrick
2023-12-13Improved test coverage for django.contrib.sessions.backends.base.SessionBase.Mariusz Felisiak
2023-12-13Fixed #35012 -- Restored wrapping admin fieldsets with multiple fields per line.Tom Carrick
Thanks James Gillard for the report. Regression in 729266c6f29c7a0677b24926a86a767ef3078b26.
2023-12-12Changed the screenshots Github workflow to run in the PR's branch by using ↵Tom Carrick
pull_request as event trigger. The original event trigger pull_request_target runs against the target branch (main), not the branch associated with the PR. Consequently, any new screenshots added in a PR are not captured, and the available screenshots reflect the state of the main branch code, not the code from the PR's branch. This update addresses the issue by changing the event trigger to pull_request. However, it's important to note that this adjustment breaks the comments functionality since the action no longer has write permissions.
2023-12-12Fixed #34305 -- Changed GeoIP2 tests to use MaxMind test databases.Nick Pope
GEOIP_SETTINGS is removed from the global scope as this prevents modifications to the settings using @override_settings in tests. Additional improvements now that we have stable test databases include: - Made testing more comprehensive and improved coverage - Patched socket.gethostbyname() for whole test case - Added testing of non-free GeoIP2 databases Co-authored-by: Tom Forbes <tom@tomforb.es>
2023-12-12Refs #34305 -- Added SimpleTestCase.enterClassContext() on Python < 3.11.Nick Pope
2023-12-12Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms.Simon Charette
Thanks Eugene Morozov and Ben Nace for the reports.
2023-12-12Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField ↵Mariusz Felisiak
as output_field on Oracle < 23c. Thanks Václav Řehák for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
2023-12-08Fixed #35019 -- Fixed save() on models with both GeneratedFields and ↵Sarah Boyce
ForeignKeys. Thanks Deb Kumar Das for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
2023-12-08Fixed #35016 -- Doc'd that DATABASES["OPTIONS"] are passed to new PostgreSQL ↵Yashas
connections.
2023-12-08Fixed #34742 -- Made CommonMiddleware raise APPEND_SLASH RuntimeError on ↵Avaneesh Kumar
DELETE requests.
2023-12-07Fixed #35024 -- Fixed model instance creation crash on ↵Mariusz Felisiak
GeneratedField.output_field with backend converters. Regression in d9de74141e8a920940f1b91ed0a3ccb835b55729. This is a long standing issue, however it caused a crash of GeneratedFields for all output fields that have backend-specific converters when the RETURNING clause is not supported (MySQL and SQLite < 3.35). That's why severity was exacerbated.
2023-12-07Refs #34986 -- Added PyPy 3.10 with PostgreSQL to daily builds.Nick Pope