summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-31Refs #30446 -- Added tests for resolving output_field of CombinedExpression.Simon Charette
2020-08-28Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵Mariusz Felisiak
on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
2020-08-28Refs #31956 -- Added test for ordering by JSONField with a custom decoder.Mariusz Felisiak
2020-08-28Fixed #31954 -- Fixed migration optimization for MTI model creation with ↵Koen De Wit
parent model with mixed case app label.
2020-08-28Refs #31928 -- Added various middlewares tests for detecting when ↵Kevin Michel
get_response is coroutine.
2020-08-28Fixed #31928 -- Fixed detecting an async get_response in various middlewares.Kevin Michel
SecurityMiddleware and the three cache middlewares were not calling super().__init__() during their initialization or calling the required MiddlewareMixin._async_check() method. This made the middlewares not properly present as coroutine and confused the middleware chain when used in a fully async context. Thanks Kordian Kowalski for the report.
2020-08-28Refs #31928 -- Made SessionMiddleware call super().__init__().Kevin Michel
2020-08-28Refs #26601 -- Added various middlewares tests for deprecation of passing ↵Kevin Michel
None as get_response.
2020-08-28Added tests for cache middlewares constructors.Kevin Michel
2020-08-28Fixed #31912 -- Removed strict=True in Path.resolve() in project template ↵Mariusz Felisiak
and CommonPasswordValidator. This caused permission errors when user didn't have permissions to all intermediate directories in a Django installation path. Thanks tytusd and leonyxz for reports. Regression in edeec1247e52de6fc32cee93e96d4ce36003ea4b and 26554cf5d1e96db10d0d5f4b69683a22fb82fdf8.
2020-08-27Refs #31913 -- Corrected comment in PasswordResetTokenGenerator.Phil Gyford
Follow up to da4923ea87124102aae4455e947ce24599c0365b.
2020-08-27Fixed #31947 -- Made QuerySet.update_or_create() reuse get_or_create().Alexander
2020-08-26Fixed #31936 -- Fixed __in lookup on key transforms for JSONField.Mariusz Felisiak
This resolves an issue on databases without a native JSONField (MariaDB, MySQL, SQLite, Oracle), where values must be wrapped. Thanks Sébastien Pattyn for the report.
2020-08-26Fixed #31942 -- Made settings cleansing work with dictionary settings with ↵Jeremy Lainé
non-string keys.
2020-08-26Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field.Kaustubh
2020-08-26Fixed #31905 -- Made MiddlewareMixin call ↵Michael Galler
process_request()/process_response() with thread sensitive. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-08-25Removed trailing whitespace in 3.2 release notes.Mariusz Felisiak
2020-08-25Moved CreateExtension release notes into django.contrib.postgres section.Cleiton de Lima
2020-08-24Fixed #24533 -- Dropped PostgreSQL sequence and Oracle identity when ↵Tim Graham
migrating away from AutoField.
2020-08-24Refs #30897 -- Added test for WAL option to Queryset.explain() on PostgreSQL ↵Nick Pope
13+.
2020-08-24Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing ↵Mariusz Felisiak
URL kwargs into context." This reverts commit 4ed534758cb6a11df9f49baddecca5a6cdda9311.
2020-08-24Refs #31877 -- Reverted "Fixes #31877 -- Used lazy() for TemplateView kwarg ↵Mariusz Felisiak
deprecation warning." This reverts commit 20799cc0a6d98816b9ef0577e24691bd26b80d7d.
2020-08-24Fixed #31907 -- Fixed missing validate_key() calls in cache backends.Nick Pope
2020-08-24Refs #31907 -- Added cache key validation tests for cache operations.Nick Pope
2020-08-24Added assertions for the results of migrating an integer pk to AutoField.Tim Graham
2020-08-21Fixed #31925 -- Fixed typo in docs/releases/3.0.txt.Kaustubh
2020-08-21Fixed #31906 -- Fixed typo in docs/ref/forms/fields.txt.Ninad Kulkarni
2020-08-20Improved wording in async views docs.Juan Pedro Fisanotti
2020-08-20Refs #29887, #27480 -- Moved touch() to BaseMemcachedCache.Nick Pope
2020-08-20Fixed comments related to nonexistent keys for incr()/decr() in memcached ↵Nick Pope
backends.
2020-08-20Fixed #31909 -- Fixed typo in docs/ref/contrib/admin/index.txt.Enderson Menezes
2020-08-19Fixed #31895 -- Fixed crash when decoding invalid session data.Mariusz Felisiak
Thanks Matt Hegarty for the report. Regression in d4fff711d4c97356bd6ba1273d2a5e349326eb5f.
2020-08-19Fixed #31902 -- Fixed crash of ExclusionConstraint on expressions with params.Maxim Petrov
2020-08-18Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.David Smith
2020-08-18Refs #9061 -- Allowed GenericInlineFormSet to disable deleting extra forms.Mariusz Felisiak
Follow up to 162765d6c3182e36095d29543e21b44b908625fc.
2020-08-18Refs #20347 -- Allowed customizing the maximum number of instantiated forms ↵Mariusz Felisiak
in generic_inlineformset_factory(). Follow up to 433dd737f94b09043f64b873b0ac067b3f97364b.
2020-08-18Refs #17642 -- Doc'd min_num and validate_min arguments in ↵Mariusz Felisiak
modelformset_factory() docs. Changed arguments ordering to match the modelformset_factory() signature.
2020-08-18Fixed typo in docs/ref/django-admin.txt.Mariusz Felisiak
2020-08-17Fixed #31892 -- Added backward incompatibility note about Media <script> ↵Jon Dufresne
tags changes. Refs 31080.
2020-08-17Fixed #31888 -- Avoided module-level MySQL queries in tests.Ahmad A. Hussein
2020-08-14Fixed #31826 -- Made AlterField operation a noop when adding db_column.Iuri de Silvio
AlterField operation with adding a db_column is a noop if the column name is not changed.
2020-08-14Added missing items to django.test.client.__all__ and django.test.utils.__all__.Mads Jensen
2020-08-14Removed unnecessary urlsplit() call from SimpleTestCase.assertRedirects().Mads Jensen
2020-08-14Fixed #31878 -- Made createsuperuser respect --database option in default ↵Yan Mitrofanov
usernames.
2020-08-14Fixed typo in tests/auth_tests/test_management.py docstring.Yan Mitrofanov
2020-08-13Refs #31811 -- Added optional timing outputs to the test runner.Ahmad A. Hussein
2020-08-13Refs #31863 -- Added release notes for 94ea79be137f3cb30949bf82198e96e094f2650d.Mariusz Felisiak
2020-08-13Fixed #31792 -- Made Exists() reuse QuerySet.exists() optimizations.Simon Charette
The latter is already optimized to limit the number of results, avoid selecting unnecessary fields, and drop ordering if possible without altering the semantic of the query.
2020-08-13Fixed #31825 -- Made RenameField operation a noop for fields with db_column.Iuri de Silvio
2020-08-13Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning.Adam Johnson
SimpleLazyObjects cause a crash when filtering. Thanks Tim L. White for the report. Regression in 4ed534758cb6a11df9f49baddecca5a6cdda9311.