| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-02-14 | Refs #33348 -- Made SimpleTestCase.assertFormsetErrors() raise an error when ↵ | Baptiste Mispelon | |
| form_index is too big. | |||
| 2022-02-14 | Simplified SimpleTestCase.assertFormError()/assertFormsetErrors() calls in ↵ | Baptiste Mispelon | |
| admin_views tests. | |||
| 2022-02-14 | Fixed field name in admin_views.tests.UserAdminTest.test_password_mismatch() ↵ | Baptiste Mispelon | |
| assertion. | |||
| 2022-02-14 | Refs #33348 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() ↵ | Baptiste Mispelon | |
| raise an error for unbound forms/formsets. | |||
| 2022-02-14 | Refs #25684 -- Removed double newline from request/response output of runserver. | rafrafek | |
| Follow up to 0bc5cd628042bf0a44df60a93085a4f991a84dfb. | |||
| 2022-02-11 | Refs #32502 -- Avoided table rebuild when removing fields on SQLite 3.35.5+. | Mariusz Felisiak | |
| ALTER TABLE ... DROP COLUMN was introduced in SQLite 3.35+ however a data corruption issue was fixed in SQLite 3.35.5. | |||
| 2022-02-11 | Refs #33476 -- Made management commands use black. | Carlton Gibson | |
| Run black on generated files, if it is available on PATH. | |||
| 2022-02-10 | Fixed #26287 -- Added support for addition operations to SimpleLazyObject. | Theo Alexiou | |
| 2022-02-10 | Fixed #29490 -- Added support for object-based Media CSS and JS paths. | Claude Paroz | |
| 2022-02-09 | Fixed #33501 -- Made order_with_respect_to respect database routers. | Damian Posener | |
| 2022-02-09 | Fixed #33495 -- Improved debug logging message about adapting handlers for ↵ | Aaron Chong | |
| middlewares. It's the wrapped handler that's adapted to the wrapping middleware. | |||
| 2022-02-09 | Fixed #33506 -- Made QuerySet.bulk_update() perform atomic writes against ↵ | Simon Charette | |
| write database. The lack of _for_write = True assignment in bulk_update prior to accessing self.db resulted in the db_for_read database being used to wrap batched UPDATEs in a transaction. Also tweaked the batch queryset creation to also ensure they are executed against the same database as the opened transaction under all circumstances. Refs #23646, #33501. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-02-07 | Refs #33476 -- Changed quotation marks in ↵ | Mariusz Felisiak | |
| DebugViewTests.test_template_exceptions(). This prevents a failure after reformatting the code with Black. | |||
| 2022-02-07 | Refs #33482 -- Fixed QuerySet selecting and filtering againts negated ↵ | Mariusz Felisiak | |
| Exists() with empty queryset. Regression in b7d1da5a62fe4141beff2bfea565f7ef0038c94c. | |||
| 2022-02-03 | Refs #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-03 | Fixed #33473 -- Fixed detecting changes by autoreloader in .py files inside ↵ | Hrushikesh Vaidya | |
| template directories. | |||
| 2022-02-03 | Refs #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-02 | Fixed #33482 -- Fixed QuerySet filtering againts negated Exists() with empty ↵ | Simon Charette | |
| queryset. Thanks Tobias Bengfort for the report. | |||
| 2022-02-01 | Fixed #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-01 | Fixed CVE-2022-23833 -- Fixed DoS possiblity in file uploads. | Mariusz Felisiak | |
| Thanks Alan Ryan for the report and initial patch. | |||
| 2022-02-01 | Fixed 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-01 | Fixed #33480 -- Fixed makemigrations crash when renaming field of renamed model. | Kirill Safronov | |
| Regression in aa4acc164d1247c0de515c959f7b09648b57dc42. | |||
| 2022-01-31 | Fixed #33468 -- Fixed QuerySet.aggregate() after annotate() crash on ↵ | Mariusz Felisiak | |
| aggregates with default. Thanks Adam Johnson for the report. | |||
| 2022-01-29 | Fixed #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-28 | Fixed #33461 -- Escaped template errors in the technical 500 debug page. | Keryn Knight | |
| 2022-01-27 | Fixed #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-27 | Fixed #33463 -- Fixed QuerySet.bulk_update() with F() expressions. | Jörg Breitbart | |
| 2022-01-27 | Fixed #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-26 | Adjusted 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-26 | Increased test coverage for django.contrib.gis.gdal.layer.Layer. | Mariusz Felisiak | |
| 2022-01-25 | Fixed #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-24 | Fixed #33458 -- Fixed encoding of messages with empty string as extra_tags. | Timothy McCurrach | |
| 2022-01-22 | Stopped including type="text/css" attributes for CSS link tags. | Claude Paroz | |
| 2022-01-21 | Fixed #33455 -- Improved error message when selenium is not installed. | My-Name-Is-Nabil | |
| 2022-01-21 | Fixed #26760 -- Added --prune option to migrate command. | Jacob Walls | |
| 2022-01-21 | Fixed #33449 -- Fixed makemigrations crash on models without ↵ | Fabian Büchler | |
| Meta.order_with_respect_to but with _order field. Regression in aa4acc164d1247c0de515c959f7b09648b57dc42. | |||
| 2022-01-20 | Fixed #33453 -- Dropped support for GDAL 2.1. | Mariusz Felisiak | |
| 2022-01-20 | Fixed #33062 -- Made MultiPartParser remove non-printable chars from file names. | Hrushikesh Vaidya | |
| 2022-01-19 | Fixed #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-19 | Added tests for SpatialReference.to_esri()/from_esri(). | Mariusz Felisiak | |
| 2022-01-18 | Fixed #33446 -- Added CSS source map support to ManifestStaticFilesStorage. | Adam Johnson | |
| 2022-01-17 | Fixed #29338 -- Allowed using combined queryset in Subquery. | Mariusz Felisiak | |
| Thanks Eugene Kovalev for the initial patch, Simon Charette for the review, and Chetan Khanna for help. | |||
| 2022-01-17 | Fixed #33435 -- Fixed invalid SQL generatered by Subquery.as_sql(). | My-Name-Is-Nabil | |
| 2022-01-14 | Fixed #28135 -- Made simplify_regex() handle non-capturing groups. | Ayush Joshi | |
| 2022-01-14 | Fixed #33441 -- Restored immutability of models.Field.__hash__(). | Adam Johnson | |
| Regression in 502e75f9ed5476ffe8229109acf0c23999d4b533. | |||
| 2022-01-13 | Fixed #29708 -- Deprecated PickleSerializer. | Adam Johnson | |
| 2022-01-13 | Refs #29708 -- Made SessionBase store expiry as string. | Adam Johnson | |
| 2022-01-13 | Improved Model.__init__() properties loop. | Adam Johnson | |
| This improves readability, accumulates unrecognized arguments raise an exception with all of them, and avoids refetching the values. | |||
