summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-03Refs #31747 -- Added more tests for preserving query strings when redirect ↵Dominique Bischof
with APPEND_SLASH in admin.
2023-03-03Fixed #34378 -- Made QuerySet.in_bulk() not clear odering when id_list is ↵Ekaterina Vahrusheva
passed. This reverts 340eaded4e30cf25bcd4e9781d33a617fe9c0f84.
2023-03-02Fixed #34374 -- Fixed GIS tests on Windows.Heath Henley
2023-03-02Moved str() calls to DateFieldListFilter.choices().sarahboyce
2023-03-02Refs #34320 -- Stopped recreating check constraints when renaming fields.Mariusz Felisiak
This also fixes test_rename_field_with_check_to_truncated_name() on MariaDB 10.5.2+ as ALTER TABLE ... RENAME COLUMN statement doesn't rename inline constraints.
2023-03-01Doc'd that django.setup() is called under ASGI.Adam Johnson
2023-03-01Fixed #34367 -- Updated instructions for installing GeoDjango on Windows.Heath Henley
Thanks David Smith for the review.
2023-03-01Ignored 14459f80ee3a9e005989db37c26fd13bb6d2fab2 formatting changes in git ↵Mariusz Felisiak
blame.
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-03-01Refs #34140 -- Added configurations to run blacken-docs linter and adjusted ↵Mariusz Felisiak
docs. This adds: - GitHub actions, - tox configuration, - pre-commit hook, and - makefile rules to run blacken-docs linter. Co-authored-by: David Smith <smithdc@gmail.com>
2023-03-01Refs #34140 -- Made minor edits to rst code-blocks.Mariusz Felisiak
2023-02-28Ignored ba755ca13123d2691a0926ddb64e5d0a2906a880 formatting changes in git ↵Mariusz Felisiak
blame.
2023-02-28Refs #34140 -- Corrected rst code-block and various formatting issues in docs.Joseph Victor Zammit
2023-02-27Fixed #34368 -- Made subquery raise NotSupportedError when referencing outer ↵Simon Charette
window expression. Regression in f387d024fc75569d2a4a338bfda76cc2f328f627. Co-authored-by: Jannis Vajen <jvajen@gmail.com>
2023-02-27Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy.Simon Charette
Regression in 278881e37619278789942513916acafaa88d26f3 caused by a lack of expression copying when an OrderBy expression is explicitly provided. Thanks Jannis Vajen for the report and regression test.
2023-02-24Fixed #34366 -- Reduced AlterField operations when optimizing migrations.Laurent Tramoy
2023-02-24Doc'd that Meta.indexes is preferred to Field.db_index.Adam Johnson
2023-02-24Refs #34338 -- Fixed isolation of constraints tests.Mariusz Felisiak
Regression in 5b3d3e400ab9334ba429ca360c9818c6dfc3a51b.
2023-02-24Refs #34320 -- Added skipIf for a test requiring check constraints.Tim Graham
2023-02-23Refs #30060, Refs #34217 -- Made SchemaEditor not generate SQL for ↵Mariusz Felisiak
CheckConstraint if not supported. The new logic mirrors the logic in SchemaEditor._delete_check_sql() added in 68ef274bc505cd44f305c03cbf84cf08826200a8. Thanks Tim Graham for the report.
2023-02-23Fixed #34338 -- Allowed customizing code of ValidationError in ↵Xavier Fernandez
BaseConstraint and subclasses.
2023-02-23Refs #33829 -- Added violation_error_message to constraints' __repr__().Xavier Fernandez
2023-02-22Fixed #34363 -- Fixed floatformat crash on zero with trailing zeros.Panagiotis H.M. Issaris
Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124. Follow up to 4b066bde692078b194709d517b27e55defae787c.
2023-02-22Fixed #34355 -- Deprecated passing positional arguments to BaseConstraint.Xavier Fernandez
2023-02-22Moved DatabaseIntrospection.get_table_description() internal_size release ↵Tim Graham
note to "Database backend API" section.
2023-02-21Refs #31445 -- Added test for nesting QuerySet.union().Mariusz Felisiak
This was fixed in MySQL 8.0.31.
2023-02-21Fixed #34344 -- Allowed PostGIS DatabaseWrapper subclasses to customize ↵David Buhler
(features/introspection/ops)_class classes.
2023-02-21Refs #16969 -- Added test for not initializing PostGIS-specific stuff for ↵Mariusz Felisiak
non-db connections.
2023-02-20Fixed #34349 -- Fixed FormSet.empty_form crash when deleting extra forms is ↵Laurens Verhoeven
disabled.
2023-02-20Fixed #34346 -- Ordered selected expressions by position.Simon Charette
Used the same approach as for #34176 by using selected expressions position to prevent ambiguous aliases in collisions. Thanks henribru for the report. Regression in 04518e310d4552ff7595a34f5a7f93487d78a406.
2023-02-18Refs #34176 -- Adjusted group by position variables naming to follow SQL spec.Simon Charette
This avoids conceptual collisions with the notion of indices.
2023-02-18Refs #33308 -- Added tests for queryset ordered by annotation with ↵Simon Charette
nulls_first/nulls_last.
2023-02-17Fixed #34347 -- Added __all__ to django.contrib.gis.utils.syre
2023-02-17Fixed #34302 -- Fixed SpatialReference.srid for objects without top-level ↵Stefan Brand
authority.
2023-02-17Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is ↵Stefan Brand
None. force_bytes() turns None into the byte string b"None". Since ctypes.c_char_p() also accepts None, we can bypass force_bytes() if target is None.
2023-02-17Fixed #34342, Refs #33735 -- Fixed test client handling of async streaming ↵Alexandre Spaeth
responses. Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2023-02-17Refs #34342 -- Added tests for handling sync streaming responses by test client.Alexandre Spaeth
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2023-02-17Fixed #34343 -- Moved built-in templates to filesystem.Nick Pope
2023-02-16Refs #21080, Refs #34322 -- Added warning to ManifestStaticFilesStorage docs ↵Mariusz Felisiak
about paths in comments.
2023-02-16Fixed #34045 -- Improved accessibility of selecting items in admin changelist.Durval Carvalho
This adds "aria-label".
2023-02-15Fixed #34320 -- Make sure constraints names are obtained from truncated ↵nabil-rady
columns names.
2023-02-15Refs #32339 -- Doc'd setting a form's template_name is recomended over using ↵David Smith
as_* methods.
2023-02-15Refs #32339 -- Updated docs to reflect default <div> style form rendering in ↵David Smith
Django 5.0. Follow up to 98756c685ee173bbd43f21ed0553f808be835ce5.
2023-02-15Refs #32339 -- Doc'd BaseFormSet.as_div()David Smith
2023-02-15Completed test coverage for django.utils.datastructures.Marcelo Galigniana
2023-02-15Completed test coverage for django.db.migrations.graph.Marcelo Galigniana
2023-02-15Completed test coverage for django.forms.utils.Marcelo Galigniana
2023-02-14Bumped grunt-contrib-qunit versions in npm configurations.Sarah Boyce
2023-02-14Fixed #34250 -- Fixed renaming model with m2m relation to a model with the ↵DevilsAutumn
same name.
2023-02-14Fixed #34328 -- Added async-only class-based middleware example.Carlton Gibson