summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-03Refs #32559 -- Added selenium test for FloatField client-side validation.Carlton Gibson
step="any" is required for non-integer values. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#step Covers behaviour added in 7ec2a21be15af5b2c7513482c3bcfdd1e12782ed.
2022-02-03Fixed #33473 -- Fixed detecting changes by autoreloader in .py files inside ↵Hrushikesh Vaidya
template directories.
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], )
2022-02-03Fixed #32243 -- Added docs examples for manually saving Files.Joshua Massover
2022-02-03Improved example of using a custom queryset in Model formsets docs.Mike Lissner
2022-02-02Added Redis to warning about using cached sessions in docs.Theofilos Alexiou
2022-02-02Fixed #33474 -- Added __slots__ to Variable and FilterExpression.Keryn Knight
2022-02-02Fixed #33482 -- Fixed QuerySet filtering againts negated Exists() with empty ↵Simon Charette
queryset. Thanks Tobias Bengfort for the report.
2022-02-02Fixed typo in release notes.David Smith
2022-02-01Refs #33476 -- Used vertical hanging indentation for format lists with ↵Mariusz Felisiak
inline comments. Lists with multiple values and comments per-line are reformatted by Black to multiple lines with a single comment. For example: DATE_INPUT_FORMATS = "%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", # '2006-10-25', '10/25/2006', '10/25/06' ] is reformatted to the: DATE_INPUT_FORMATS = "%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", # '2006-10-25', '10/25/2006', '10/25/06' ] This reformats affected entries to multiple lines with corresponding comments.
2022-02-01Fixed #30360 -- Added support for secret key rotation.tschilling
Thanks Florian Apolloner for the implementation idea. Co-authored-by: Andreas Pelme <andreas@pelme.se> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Vuyisile Ndlovu <terrameijar@gmail.com>
2022-02-01Added stub release notes for 4.0.3.Mariusz Felisiak
2022-02-01Added CVE-2022-22818 and CVE-2022-23833 to security archive.Mariusz Felisiak
2022-02-01Fixed CVE-2022-23833 -- Fixed DoS possiblity in file uploads.Mariusz Felisiak
Thanks Alan Ryan for the report and initial patch.
2022-02-01Fixed CVE-2022-22818 -- Fixed possible XSS via {% debug %} template tag.Markus Holtermann
Thanks Keryn Knight for the report. Co-authored-by: Adam Johnson <me@adamj.eu>
2022-02-01Fixed #33480 -- Fixed makemigrations crash when renaming field of renamed model.Kirill Safronov
Regression in aa4acc164d1247c0de515c959f7b09648b57dc42.
2022-01-31Fixed #33468 -- Fixed QuerySet.aggregate() after annotate() crash on ↵Mariusz Felisiak
aggregates with default. Thanks Adam Johnson for the report.
2022-01-29Updated translations from Transifex.Claude Paroz
Updated Bulgarian, Czech, German, Uzbek, and Vietnamese translations. Forwardport of 7a1c6533eb72c3e6faa308796ba7f8d7d447d3b9 from stable/4.0.x.
2022-01-29Fixed #33465 -- Added empty __slots__ to SafeString and SafeData.Keryn Knight
Despite inheriting from the str type, every SafeString instance gains an empty __dict__ due to the normal, expected behaviour of type subclassing in Python. Adding __slots__ to SafeData is necessary, because otherwise inheriting from that (as SafeString does) will give it a __dict__ and negate the benefit added by modifying SafeString.
2022-01-29Fixed #33452 -- Fixed admin change-form layout for submit buttons on ↵Mariusz Felisiak
mid-sized displays. Thanks David Smith for reviews.
2022-01-28Fixed #33461 -- Escaped template errors in the technical 500 debug page.Keryn Knight
2022-01-28Fixed #33459 -- Clarified index type in full text search docs.Thomas Aglassinger
2022-01-27Fixed #26142 -- Allowed model formsets to prevent new object creation.vgolubev
Thanks Jacob Walls, David Smith, and Mariusz Felisiak for reviews. Co-authored-by: parth <parthvin@gmail.com>
2022-01-27Fixed #33463 -- Fixed QuerySet.bulk_update() with F() expressions.Jörg Breitbart
2022-01-27Fixed #33462 -- Fixed migration crash when altering type of primary key with ↵Mariusz Felisiak
MTI and foreign key. This prevents duplicated operations when altering type of primary key with MTI and foreign key. Previously, a foreign key to the base model was added twice, once directly and once by the inheritance model. Thanks bcail for the report. Regression in 325d7710ce9f6155bb55610ad6b4580d31263557.
2022-01-26Fixed wrapping of long messages in the admin.Mariusz Felisiak
2022-01-26Adjusted CBV resolver_match example in testing tools docs.Carlton Gibson
The view_class is available on the view callback, allowing that to be checked, rather than the __name__.
2022-01-26Increased test coverage for django.contrib.gis.gdal.layer.Layer.Mariusz Felisiak
2022-01-26Used GitHub actions for Windows tests.Tom Forbes
2022-01-26Fixed #33048 -- Doc'd that DEBUG static files requests don't use middleware ↵Kaushik Chintam
chain.
2022-01-26Fixed #33407 -- Fixed .radiolist admin CSS.Carlton Gibson
Regression in 5942ab5eb165ee2e759174e297148a40dd855920.
2022-01-25Fixed broken link to cx_Oracle docs.Ian Foote
2022-01-25Refs #20349 -- Avoided loading testing libraries when not needed.Collin Anderson
2022-01-25Fixed typo in docs/releases/4.1.txt.Mariusz Felisiak
2022-01-25Added stub release notes and release date for 4.0.2, 3.2.12, and 2.2.27.Mariusz Felisiak
2022-01-25Fixed #29984 -- Added QuerySet.iterator() support for prefetching related ↵Jacob Walls
objects. Co-authored-by: Raphael Kimmig <raphael.kimmig@ampad.de> Co-authored-by: Simon Charette <charette.s@gmail.com>
2022-01-24Fixed #33460 -- Used VALUES clause for insert in bulk on SQLite.Keryn Knight
SQLite 3.7.11 introduced the ability to use multiple values directly. SQLite 3.8.8 made multiple values not subject to the SQLITE_LIMIT_COMPOUND_SELECT (500).
2022-01-24Fixed wrapping of long values in technical 500 debug page.Mariusz Felisiak
Follow up to d5f2d5d6041d477fc8f5fc53c20112e07ef104fc.
2022-01-24Fixed #33457 -- Fixed "Local vars" scrolling in technical 500 debug page.Hrushikesh Vaidya
Thanks Keryn Knight for the report and the initial patch.
2022-01-24Fixed #33458 -- Fixed encoding of messages with empty string as extra_tags.Timothy McCurrach
2022-01-22Stopped including type="text/css" attributes for CSS link tags.Claude Paroz
2022-01-21Fixed #33455 -- Improved error message when selenium is not installed.My-Name-Is-Nabil
2022-01-21Fixed #26760 -- Added --prune option to migrate command.Jacob Walls
2022-01-21Fixed #33449 -- Fixed makemigrations crash on models without ↵Fabian Büchler
Meta.order_with_respect_to but with _order field. Regression in aa4acc164d1247c0de515c959f7b09648b57dc42.
2022-01-20Fixed #33453 -- Dropped support for GDAL 2.1.Mariusz Felisiak
2022-01-20Improved wording in running Django’s test suite in contributing tutorial.Tilak
2022-01-20Fixed #33062 -- Made MultiPartParser remove non-printable chars from file names.Hrushikesh Vaidya
2022-01-19Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create().sean_c_hsu
Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews.
2022-01-19Updated GEOS/GDAL links in docs and comments.Moritz Duchêne
2022-01-19Added tests for SpatialReference.to_esri()/from_esri().Mariusz Felisiak