summaryrefslogtreecommitdiff
path: root/django
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #34333 -- Fixed migration operations ordering when adding ↵Durval Carvalho2023-03-101-0/+20
| | | | | | index/constraint on new foreign key. Thanks Simon Charette and David Wobrock for reviews.
* Fixed #27397 -- Prevented integer overflows on integer field lookups.Simon Charette2023-03-091-4/+39
| | | | | This prevents a sqlite3 crash and address a potential DDoS vector on PostgreSQL caused by full-table-scans on overflows.
* Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__().Hrushikesh Vaidya2023-03-091-1/+4
|
* Fixed #34395 -- Updated admin's jQuery to 3.6.4.Mariusz Felisiak2023-03-092-61/+33
|
* Fixed #34370 -- Added integer fields validation as 64-bit on SQLite.nabil-rady2023-03-081-2/+9
|
* Fixed #34384 -- Fixed session validation when rotation secret keys.David Wobrock2023-03-082-5/+28
| | | | | | Bug in 0dcd549bbe36c060f536ec270d34d9e7d4b8e6c7. Thanks Eric Zarowny for the report.
* Fixed #31920 -- Made AuthenticationMiddleware add request.auser().Jon Janzen2023-03-071-0/+11
|
* Fixed #32172 -- Adapted signals to allow async handlers.Jon Janzen2023-03-074-31/+212
| | | | | co-authored-by: kozzztik <kozzztik@mail.ru> co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
* Fixed #34386 -- Made SMTP backend load default system root CA certificates ↵Dmitriy Sintsov2023-03-061-2/+4
| | | | | | by default. Regression in 2848e5d0ce5cf3c31fe87525536093b21d570f69.
* Fixed #32539 -- Added toggleable facet filters to ModelAdmin.sarahboyce2023-03-0310-35/+229
| | | | | Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz Felisiak for reviews.
* Fixed #34377 -- Fixed preserving query strings in AdminSite.catch_all_view().Dominique Bischof2023-03-031-1/+3
| | | | | | | Included full path when redirecting with append slash to include query strings. Regression in ba31b0103442ac891fb3cb98f316781254e366c3.
* Fixed #34378 -- Made QuerySet.in_bulk() not clear odering when id_list is ↵Ekaterina Vahrusheva2023-03-031-2/+2
| | | | | | passed. This reverts 340eaded4e30cf25bcd4e9781d33a617fe9c0f84.
* Moved str() calls to DateFieldListFilter.choices().sarahboyce2023-03-021-12/+13
|
* Refs #34320 -- Stopped recreating check constraints when renaming fields.Mariusz Felisiak2023-03-022-2/+28
| | | | | 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.
* Fixed #34368 -- Made subquery raise NotSupportedError when referencing outer ↵Simon Charette2023-02-272-1/+6
| | | | | | | | window expression. Regression in f387d024fc75569d2a4a338bfda76cc2f328f627. Co-authored-by: Jannis Vajen <jvajen@gmail.com>
* Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy.Simon Charette2023-02-271-0/+2
| | | | | | 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.
* Fixed #34366 -- Reduced AlterField operations when optimizing migrations.Laurent Tramoy2023-02-241-3/+3
|
* Refs #30060, Refs #34217 -- Made SchemaEditor not generate SQL for ↵Mariusz Felisiak2023-02-231-0/+2
| | | | | | | | CheckConstraint if not supported. The new logic mirrors the logic in SchemaEditor._delete_check_sql() added in 68ef274bc505cd44f305c03cbf84cf08826200a8. Thanks Tim Graham for the report.
* Fixed #34338 -- Allowed customizing code of ValidationError in ↵Xavier Fernandez2023-02-232-15/+70
| | | | BaseConstraint and subclasses.
* Refs #33829 -- Added violation_error_message to constraints' __repr__().Xavier Fernandez2023-02-232-3/+21
|
* Fixed #34363 -- Fixed floatformat crash on zero with trailing zeros.Panagiotis H.M. Issaris2023-02-221-1/+2
| | | | Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124. Follow up to 4b066bde692078b194709d517b27e55defae787c.
* Fixed #34355 -- Deprecated passing positional arguments to BaseConstraint.Xavier Fernandez2023-02-221-3/+24
|
* Refs #31445 -- Added test for nesting QuerySet.union().Mariusz Felisiak2023-02-211-0/+10
| | | This was fixed in MySQL 8.0.31.
* Fixed #34344 -- Allowed PostGIS DatabaseWrapper subclasses to customize ↵David Buhler2023-02-211-4/+18
| | | | (features/introspection/ops)_class classes.
* Fixed #34349 -- Fixed FormSet.empty_form crash when deleting extra forms is ↵Laurens Verhoeven2023-02-201-1/+3
| | | | disabled.
* Fixed #34346 -- Ordered selected expressions by position.Simon Charette2023-02-201-8/+35
| | | | | | | | | 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.
* Refs #34176 -- Adjusted group by position variables naming to follow SQL spec.Simon Charette2023-02-181-5/+5
| | | | This avoids conceptual collisions with the notion of indices.
* Fixed #34347 -- Added __all__ to django.contrib.gis.utils.syre2023-02-171-7/+14
|
* Fixed #34302 -- Fixed SpatialReference.srid for objects without top-level ↵Stefan Brand2023-02-171-1/+1
| | | | authority.
* Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is ↵Stefan Brand2023-02-171-2/+6
| | | | | | | | 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.
* Fixed #34342, Refs #33735 -- Fixed test client handling of async streaming ↵Alexandre Spaeth2023-02-171-9/+26
| | | | | | | | responses. Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
* Fixed #34343 -- Moved built-in templates to filesystem.Nick Pope2023-02-176-219/+248
|
* Fixed #34045 -- Improved accessibility of selecting items in admin changelist.Durval Carvalho2023-02-163-7/+11
| | | | This adds "aria-label".
* Fixed #34320 -- Make sure constraints names are obtained from truncated ↵nabil-rady2023-02-151-2/+6
| | | | columns names.
* Fixed #34250 -- Fixed renaming model with m2m relation to a model with the ↵DevilsAutumn2023-02-141-14/+6
| | | | same name.
* Fixed #34280 -- Allowed specifying different field values for create ↵tschilling2023-02-141-7/+15
| | | | operation in QuerySet.update_or_create().
* Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.Markus Holtermann2023-02-145-16/+72
| | | | Thanks to Jakob Ackermann for the report.
* Fixed #34316 -- Fixed layout of admin password change forms and help texts.sarahboyce2023-02-134-8/+9
| | | | Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
* Fixed #32813 -- Made runserver display port after binding.Dhanush2023-02-102-26/+32
| | | | Thanks Florian Apolloner for the review.
* Fixed #34303 –- Allowed customizing admin site log entry list.Jacob Rief2023-02-082-8/+10
| | | | Added AdminSite.get_log_entries() as an override point and made this available to the template via each_context().
* Fixed #34319 -- Fixed Model.validate_constraints() crash on ValidationError ↵Mariusz Felisiak2023-02-081-1/+4
| | | | | | | with no code. Thanks Mateusz Kurowski for the report. Regression in 667105877e6723c6985399803a364848891513cc.
* Refs #7430 -- Removed broken Template.__iter__().Anders Hovmöller2023-02-081-4/+0
| | | Co-authored-by: Anders Hovmöller <anders.hovmoller@dryft.se>
* Fixed #34315 -- Preserved admin changelist filters on "Close" button.Bakdolot2023-02-081-1/+4
|
* Fixed #34313 -- Updated thousands separator for Spanish (ES) locale.Youngkwang Yang2023-02-081-1/+1
| | | | | Format was updated from a comma to a space in 2010. ref: https://en.wikipedia.org/wiki/Decimal_separator#Examples_of_use
* Fixed #34317 -- Renamed "instance" argument of ↵Bakdolot2023-02-071-1/+1
| | | | BaseModelFormSet.save_existing() method.
* Fixed #34285 -- Fixed index/slice lookups on filtered aggregates with ↵Nils VAN ZUIJLEN2023-02-071-2/+6
| | | | | | ArrayField. Thanks Simon Charette for the review.
* Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.Jacob Walls2023-02-071-7/+9
|
* Fixed #34301 -- Made admin's submit_row check add permission for "Save as ↵Frederic Mheir2023-02-071-1/+1
| | | | new" button.
* Made PostgreSQL's SchemaEditor._create_index_sql() respect the "sql" argument.Dan Glass2023-02-061-1/+1
|
* Increased the default PBKDF2 iterations for Django 5.0.Mariusz Felisiak2023-02-041-1/+1
| | | Follow up to 9a1848f48c1f7f627a52b2063a8a8428e77765d6.