summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
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-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-17Fixed #34343 -- Moved built-in templates to filesystem.Nick Pope
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-14Fixed #34250 -- Fixed renaming model with m2m relation to a model with the ↵DevilsAutumn
same name.
2023-02-14Fixed #34280 -- Allowed specifying different field values for create ↵tschilling
operation in QuerySet.update_or_create().
2023-02-14Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.Markus Holtermann
Thanks to Jakob Ackermann for the report.
2023-02-13Fixed #34316 -- Fixed layout of admin password change forms and help texts.sarahboyce
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
2023-02-10Fixed #32813 -- Made runserver display port after binding.Dhanush
Thanks Florian Apolloner for the review.
2023-02-08Fixed #34303 –- Allowed customizing admin site log entry list.Jacob Rief
Added AdminSite.get_log_entries() as an override point and made this available to the template via each_context().
2023-02-08Fixed #34319 -- Fixed Model.validate_constraints() crash on ValidationError ↵Mariusz Felisiak
with no code. Thanks Mateusz Kurowski for the report. Regression in 667105877e6723c6985399803a364848891513cc.
2023-02-08Refs #7430 -- Removed broken Template.__iter__().Anders Hovmöller
Co-authored-by: Anders Hovmöller <anders.hovmoller@dryft.se>
2023-02-08Fixed #34315 -- Preserved admin changelist filters on "Close" button.Bakdolot
2023-02-08Fixed #34313 -- Updated thousands separator for Spanish (ES) locale.Youngkwang Yang
Format was updated from a comma to a space in 2010. ref: https://en.wikipedia.org/wiki/Decimal_separator#Examples_of_use
2023-02-07Fixed #34317 -- Renamed "instance" argument of ↵Bakdolot
BaseModelFormSet.save_existing() method.
2023-02-07Fixed #34285 -- Fixed index/slice lookups on filtered aggregates with ↵Nils VAN ZUIJLEN
ArrayField. Thanks Simon Charette for the review.
2023-02-07Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.Jacob Walls
2023-02-07Fixed #34301 -- Made admin's submit_row check add permission for "Save as ↵Frederic Mheir
new" button.
2023-02-06Made PostgreSQL's SchemaEditor._create_index_sql() respect the "sql" argument.Dan Glass
2023-02-04Increased the default PBKDF2 iterations for Django 5.0.Mariusz Felisiak
Follow up to 9a1848f48c1f7f627a52b2063a8a8428e77765d6.
2023-02-03Fixed #34259 -- Passed called_from_command_line to command subparsers.Adam Johnson
2023-02-02Fixed #34286 -- Fixed admindocs markups for case-sensitive template/view names.skidipap
2023-02-02Improved error message for ASCIIUsernameValidator.Mariusz Felisiak
Follow up to 10bb21e71e3668f770493e2af0d0e0271830f7a3. Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
2023-02-01Fixed CVE-2023-23969 -- Prevented DoS with pathological values for ↵Nick Pope
Accept-Language. The parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of Accept-Language headers is very large. Accept-Language headers are now limited to a maximum length in order to avoid this issue.
2023-01-31Fixed #34304 -- Made MySQL's SchemaEditor.remove_constraint() don't create ↵sag᠎e
foreign key index when unique constraint is ignored. Regression in b731e8841558ee4caaba766c83f34ea9c7004f8b.
2023-01-30Fixed #34283 -- Escaped title in admin's changelist filters.Stanislav Volyk
Regression in 27aa7035f57f0db30b6632e4274e18b430906799.
2023-01-27Fixed #28054 -- Made runserver not return response body for HEAD requests.Sarah Boyce
Co-authored-by: jannschu <jannik.schuerg@posteo.de>
2023-01-27Refs #34255 -- Skipped test_group_by_nested_expression_with_params test on ↵Mariusz Felisiak
PostgreSQL when server-side binding cursors are used. Thanks Tim Graham for the review.
2023-01-26Fixed #34254 -- Fixed return value of Exists() with empty queryset.Raj Desai
Thanks Simon Charette for reviews.
2023-01-26Fixed #34294 -- Protected django.core.files.locks against argtypes ↵Simon Sawicki
redefinition on Windows.
2023-01-26Fixed #34291 -- Fixed Meta.constraints validation crash on UniqueConstraint ↵Mariusz Felisiak
with ordered expressions. Thanks Dan F for the report. Bug in 667105877e6723c6985399803a364848891513cc.
2023-01-24Fixed #34227 -- Fixed QuerySet.select_related() with multi-level ↵朱穆穆
FilteredRelation.
2023-01-23Fixed #34192 -- Preserved callable storage when it returns default_storage.Matt Westcott
2023-01-23Fixed #34278 -- Made translatable string plural-aware in SelectFilter2.js.Claude Paroz
Bug in be63c78760924e1335603c36babd0ad6cfaea3c4.
2023-01-20Added short description to remove_stale_contenttypes command.touhf
2023-01-20Fixed #34267 -- Fixed sliced QuerySet.union() crash.Francesco Panico
Regression in 3d734c09ff0138441dfe0a59010435871d17950f. Thanks Raphaël Stefanini for the report.
2023-01-20Fixed #34266 -- Added ClosestPoint GIS database functions.Niccolò Mineo
2023-01-19Fixed #34272 -- Fixed floatformat crash on zero with trailing zeros to zero ↵David Wobrock
decimal places. Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124. Thanks Andrii Lahuta for the report.
2023-01-19Refs #32528 -- Simplified MigrationAutodetector._sort_migrations().Nick Pope
2023-01-19Refs #32528 -- Simplified Media.merge().Nick Pope
This avoids building up a second datastructure for the duplicate files warning case and simply flatten and strip duplicates if that case ever arises.
2023-01-19Fixed #32528 -- Replaced django.utils.topological_sort with ↵Nick Pope
graphlib.TopologicalSort(). graphlib.TopologicalSort() is available since Python 3.9.
2023-01-18Refs #34233 -- Used @functools.cache.Nick Pope
Python 3.9+ supports @functools.cache as an alias for @functools.lru_cache(maxsize=None).
2023-01-18Refs #34233 -- Used str.removeprefix()/removesuffix().Mariusz Felisiak
2023-01-18Refs #34233 -- Used types.NoneType.Nick Pope
Available since Python 3.10 where it was reintroduced.
2023-01-18Refs #34233 -- Used aiter() and anext().Nick Pope
Available since Python 3.10.