Tim Schilling
b7da588e88
Fixed #32091 -- Fixed admin search bar width on filtered admin page.
2020-10-09 11:39:22 +02:00
Qi Zhao
de81676b51
Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and read-only JSONField values in admin.
2020-10-09 08:14:17 +02:00
Julien Rebetez
b790883065
Fixed #31181 -- Added links to related models for admin's readonly fields.
2020-10-08 19:53:49 +02:00
Paul Grau
855fc06236
Fixed #29356 -- Clarified docs for QueryDict.getlist() default.
2020-10-08 14:19:51 +02:00
Carlton Gibson
1b32b2f614
Fixed #32083 -- Added link back to migrating section in multi-db docs example.
2020-10-08 12:45:06 +02:00
Jacob Walls
d976c254fc
Fixed #23681 , Fixed #27445 -- Doc'd setting choices for NullBooleanField widgets.
...
Thanks to David Smith for investigation and review.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-10-08 12:39:02 +02:00
Carlton Gibson
3d4ffd1ff0
Fixed #32065 -- Restored leading dot to CSRF_COOKIE_DOMAIN examples.
...
Partially reverts afd375fc34
.
Thanks to Tim Graham for review.
2020-10-07 10:03:10 +02:00
Tom Carrick
dcb69043d0
Fixed #32002 -- Added headers parameter to HttpResponse and subclasses.
2020-10-07 09:19:57 +02:00
Tom Carrick
342a41740d
Fixed #32072 -- Fixed admin search bar height.
...
Thanks şuayip üzülmez for the report.
Regression in 8ee4bb6ffc
.
2020-10-06 11:33:48 +02:00
Mariusz Felisiak
292b3be698
Refs #31777 -- Doc'd Char/TextField.db_collation parameter in MySQL notes.
2020-10-02 13:29:50 +02:00
Nick Pope
06c5d3fafc
Fixed #32060 -- Added Random database function.
2020-10-02 06:58:03 +02:00
Peter Marheine
f87b0ecd37
Fixed #32041 -- Doc'd how to modify served files' content types on Windows.
2020-10-01 13:32:26 +02:00
MAHANTH-wq
0da212ffbf
Fixed #32057 -- Doc'd HttpResponse.get()/items().
2020-10-01 09:44:40 +02:00
Mariusz Felisiak
85fa24e3eb
Added stub release notes for 3.1.3.
2020-10-01 07:52:45 +02:00
Mariusz Felisiak
5a1f0f1318
Added release date for 3.1.2.
2020-10-01 07:22:28 +02:00
Tom Carrick
8ee4bb6ffc
Fixed #31986 -- Fixed admin filter sidebar scrolling.
...
Regression in 2bc38bc7ca
.
Thanks haki for the report.
2020-09-30 20:35:16 +02:00
aryan
11c4a4412b
Fixed #30422 -- Made TemporaryFileUploadHandler handle interrupted uploads.
...
This patch allows upload handlers to handle interrupted uploads.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-09-30 10:30:43 +02:00
Thomas Grainger
c1442e1192
Updated ASGI uvicorn deployment docs.
2020-09-29 10:55:06 +02:00
meghanabhange
848770dd2c
Fixed #32042 -- Improved error messages for the number of submitted forms in formsets.
2020-09-28 07:05:34 +02:00
David Smith
91669cc566
Fixed #28009 -- Doc'd empty_value for CharField subclasses.
2020-09-25 12:36:33 +02:00
David Smith
e6d77e6515
Fixed empty values of forms.JSONField and forms.UUIDField in docs.
2020-09-25 10:12:01 +02:00
Mariusz Felisiak
e4ab44a4b2
Fixed #32038 -- Fixed EmptyFieldListFilter crash with GenericRelation.
...
Thanks Javier Matos Odut for the report.
2020-09-25 10:09:28 +02:00
Mariusz Felisiak
33e91f3ed8
Refs #32038 -- Added note to ModelAdmin.list_filter docs that GenericForeignKeys are not supported.
2020-09-25 10:09:28 +02:00
Mariusz Felisiak
10a289745f
Fixed typo and indentation in docs/ref/forms/fields.txt.
2020-09-25 10:04:10 +02:00
Paweł Zarębski
054ab1e00f
Fixed example of QuerySet.explain() with flags in docs.
2020-09-23 11:47:31 +02:00
Mariusz Felisiak
77caeaea88
Fixed #32012 -- Made test database creation sync apps models when migrations are disabled.
...
Thanks Jaap Roes for the report.
2020-09-23 10:54:04 +02:00
Carlton Gibson
2a55431a56
Fixed #32016 -- Clarified manual logging config docs.
2020-09-22 14:15:38 +02:00
János Roden
9e4b1ad33e
Fixed #32004 -- Clarified docs for when request.FILES is set.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-09-22 13:28:00 +02:00
Tom Carrick
e387f191f7
Fixed #31777 -- Added support for database collations to Char/TextFields.
...
Thanks Simon Charette and Mariusz Felisiak for reviews.
2020-09-21 18:24:56 +02:00
Mariusz Felisiak
ba6b32e5ef
Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator changes.
2020-09-21 06:25:23 +02:00
David D Lowe
f3901b5899
Doc'd that UpdateCacheMiddleware and cache_page affect downstream caches.
...
Thanks to Nick Pope for review.
2020-09-17 14:28:22 +02:00
Mike Lissner
8c0794ba0d
Refs #28939 -- Doc’d Prefetch behavior with multiple DBs.
2020-09-17 14:26:33 +02:00
Nick Pope
b4d46df5ca
Fixed #29887 -- Added a cache backend for pymemcache.
2020-09-16 09:40:30 +02:00
Mariusz Felisiak
eaf9764d3b
Fixed #32007 -- Fixed queryset crash with Q() annotation and aggregation.
...
Thanks Gordon Wrigley for the report.
Regression in 8a6df55f2d
.
2020-09-15 11:40:59 +02:00
Hasan Ramezani
7be6a6a4d6
Fixed #31989 -- Fixed return value of django.core.files.locks.lock()/unlock() on POSIX systems.
2020-09-15 10:21:26 +02:00
Mariusz Felisiak
e11d05e0b4
Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on models with Meta.ordering.
...
Regression in 0ddb4ebf7b
.
Thanks Julien Dutriaux for the report.
2020-09-14 20:07:44 +02:00
Tom Carrick
bcc2befd0e
Fixed #31789 -- Added a new headers interface to HttpResponse.
2020-09-14 08:41:59 +02:00
Mariusz Felisiak
9a0e5052ed
Corrected exception types in QuerySet docs.
2020-09-13 20:09:44 +02:00
Hasan Ramezani
5362e08624
Fixed #31943 -- Fixed recreating QuerySet.values()/values_list() when using a pickled Query.
2020-09-11 07:58:52 +02:00
Mariusz Felisiak
438b85dfab
Refs #31956 -- Doc'd consequences of disabling psycopg2's JSONB typecaster.
...
Follow up to 0be51d2226
.
2020-09-10 11:00:13 +02:00
Hasan Ramezani
9369f0cebb
Fixed #31967 -- Doc'd consequences of resolving an output_field for Value().
2020-09-10 09:48:04 +02:00
Ryan Hiebert
502e75f9ed
Fixed #31750 -- Made models.Field equality compare models for inherited fields.
2020-09-09 20:52:59 +02:00
Mariusz Felisiak
453967477e
Mentioned ASGI handler in SuspiciousOperation docs.
2020-09-09 09:05:28 +02:00
Hasan Ramezani
2808cdc8fb
Fixed #31962 -- Made SessionMiddleware raise SessionInterrupted when session destroyed while request is processing.
2020-09-09 09:04:28 +02:00
François Freitag
57dadfac3c
Fixed #31944 -- Used addCleanup() to register TestContextDecorator cleanups.
...
Cleanups from addCleanup() are scheduled to happen in reverse order to
the order they are added (LIFO). Ensures each cleanup is executed from
the innermost to the outermost.
2020-09-07 08:07:26 +02:00
Jon Dufresne
11ebc6479f
Fixed #31791 -- Made technical 404 debug page display the tried URL patterns for Http404.
2020-09-07 06:54:19 +02:00
Hasan Ramezani
d2d08c8cf6
Fixed #31982 -- Made HttpResponse.set_cookie() cast max_age argument to an integer.
2020-09-05 10:07:23 +02:00
jpribyl
17407eca59
Fixed #31894 -- Added note about using JSONField key lookups with QuerySet.exclude() in docs.
2020-09-04 09:04:38 +02:00
Nick Pope
fd209f62f1
Refs #21231 -- Backport urllib.parse.parse_qsl() from Python 3.8.
2020-09-03 14:24:42 +02:00
Mariusz Felisiak
8d59075184
Refs #31224 -- Made sync_to_async() examples use thread sensitive with ORM calls.
2020-09-03 12:06:42 +02:00
Jon Dufresne
0b8871ab67
Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper argument optional.
2020-09-03 09:48:40 +02:00
Brian Helba
2d42e23b6d
Fixed #31941 -- Corrected FileField.deconstruct() with a callable storage.
2020-09-02 11:06:18 +02:00
Nick Pope
a629139425
Refs #29887 , Refs #24212 -- Added servers configuration hook for memcached backends.
...
The servers property can be overridden to allow memcached backends to
alter the server configuration prior to it being passed to instantiate
the client. This allows avoidance of documentation for per-backend
differences, e.g. stripping the 'unix:' prefix for pylibmc.
2020-09-02 08:51:17 +02:00
Carlton Gibson
0bf627f0b2
Refs #11390 -- Clarified dual-calling of ChoiceField.choices callable.
2020-09-02 08:29:01 +02:00
Joe Jackson
9d5d865fd6
Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime().
2020-09-02 07:42:27 +02:00
007gzs
76e0151ea0
Added "Bugfixes" section to release notes for 3.1.2.
2020-09-02 06:32:47 +02:00
Carlton Gibson
d5b526bf78
Added CVE-2020-24583 & CVE-2020-24584 to security archive.
2020-09-01 11:32:57 +02:00
Carlton Gibson
7a60670b78
Added stub release notes for 3.1.2.
2020-09-01 10:45:12 +02:00
Carlton Gibson
976e2b7420
Added release date for 3.1.1, 3.0.10, and 2.2.16.
2020-09-01 09:56:42 +02:00
Mariusz Felisiak
1853724aca
Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level directories of the file system cache on Python 3.7+.
2020-09-01 09:17:23 +02:00
Mariusz Felisiak
8d7271578d
Fixed CVE-2020-24583, #31921 -- Fixed permissions on intermediate-level static and storage directories on Python 3.7+.
...
Thanks WhiteSage for the report.
2020-09-01 09:17:23 +02:00
007gzs
2bc38bc7ca
Fixed #31901 -- Prevented content overflowing in the admin changelist with navigation sidebar.
2020-09-01 07:51:22 +02:00
Abdullah Dursun
fcad0b1324
Corrected note about long names in search docs.
2020-08-31 22:36:25 +02:00
Hasan Ramezani
70731fc6fe
Fixed #31934 -- Added note about the default of SameSite cookie flag in modern browsers.
2020-08-31 10:57:41 +02:00
Federico Jaramillo Martínez
179d9dc0c2
Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships.
...
Thanks dacotagh for the report.
2020-08-31 09:28:05 +02:00
Simon Charette
f6405c0b8e
Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.
...
The optimization introduced in 7acef095d7
did not properly handle
deletion involving filters against aggregate annotations.
It initially was surfaced by a MariaDB test failure but misattributed
to an undocumented change in behavior that resulted in the systemic
generation of poorly performing database queries in 5b83bae031
.
Thanks Anton Plotkin for the report.
Refs #23576 .
2020-08-31 08:11:28 +02:00
Mariusz Felisiak
0be51d2226
Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.
...
Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
2020-08-28 19:09:46 +02:00
Kevin Michel
825ce75fae
Fixed #31928 -- Fixed detecting an async get_response in various middlewares.
...
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-28 12:33:15 +02:00
Mariusz Felisiak
e39e727ded
Fixed #31912 -- Removed strict=True in Path.resolve() in project template 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 edeec1247e
and
26554cf5d1
.
2020-08-28 05:57:36 +02:00
Mariusz Felisiak
1251772cb8
Fixed #31936 -- Fixed __in lookup on key transforms for JSONField.
...
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-26 22:13:37 +02:00
Kaustubh
b9be11d442
Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field.
2020-08-26 09:43:39 +02:00
Michael Galler
547a07fa7e
Fixed #31905 -- Made MiddlewareMixin call process_request()/process_response() with thread sensitive.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-08-26 07:13:49 +02:00
Mariusz Felisiak
0b0658111c
Removed trailing whitespace in 3.2 release notes.
2020-08-25 10:02:56 +02:00
Cleiton de Lima
9f8c7d2b4b
Moved CreateExtension release notes into django.contrib.postgres section.
2020-08-25 06:13:19 +02:00
Mariusz Felisiak
bb8f66934d
Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context."
...
This reverts commit 4ed534758c
.
2020-08-24 11:37:59 +02:00
Mariusz Felisiak
04e87e79a0
Refs #31877 -- Reverted "Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning."
...
This reverts commit 20799cc0a6
.
2020-08-24 11:37:59 +02:00
Kaustubh
3e753d3de3
Fixed #31925 -- Fixed typo in docs/releases/3.0.txt.
2020-08-21 09:47:37 +02:00
Ninad Kulkarni
927bd888dd
Fixed #31906 -- Fixed typo in docs/ref/forms/fields.txt.
2020-08-21 08:14:07 +02:00
Juan Pedro Fisanotti
41725602af
Improved wording in async views docs.
2020-08-20 09:06:50 +02:00
Enderson Menezes
67e4a9a4b9
Fixed #31909 -- Fixed typo in docs/ref/contrib/admin/index.txt.
2020-08-20 07:34:03 +02:00
Mariusz Felisiak
4376c2c7f8
Fixed #31895 -- Fixed crash when decoding invalid session data.
...
Thanks Matt Hegarty for the report.
Regression in d4fff711d4
.
2020-08-19 12:06:00 +02:00
David Smith
e2e34f4de3
Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.
2020-08-18 22:56:39 +02:00
Mariusz Felisiak
35b03788b0
Refs #9061 -- Allowed GenericInlineFormSet to disable deleting extra forms.
...
Follow up to 162765d6c3
.
2020-08-18 09:37:15 +02:00
Mariusz Felisiak
3254991762
Refs #20347 -- Allowed customizing the maximum number of instantiated forms in generic_inlineformset_factory().
...
Follow up to 433dd737f9
.
2020-08-18 09:37:15 +02:00
Mariusz Felisiak
13704b057d
Refs #17642 -- Doc'd min_num and validate_min arguments in modelformset_factory() docs.
...
Changed arguments ordering to match the modelformset_factory()
signature.
2020-08-18 09:30:31 +02:00
Mariusz Felisiak
d534b5734f
Fixed typo in docs/ref/django-admin.txt.
2020-08-18 06:28:30 +02:00
Jon Dufresne
dd5173ca1b
Fixed #31892 -- Added backward incompatibility note about Media <script> tags changes.
...
Refs 31080.
2020-08-17 10:13:18 +02:00
Ahmad A. Hussein
61a0ba43cf
Refs #31811 -- Added optional timing outputs to the test runner.
2020-08-13 17:17:15 +02:00
Mariusz Felisiak
21768a99f4
Refs #31863 -- Added release notes for 94ea79be13
.
2020-08-13 16:29:55 +02:00
Adam Johnson
20799cc0a6
Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning.
...
SimpleLazyObjects cause a crash when filtering.
Thanks Tim L. White for the report.
Regression in 4ed534758c
.
2020-08-13 07:26:10 +02:00
Tom Carrick
63300f7e68
Fixed #21181 -- Added Collate database function.
...
Thanks Simon Charette for reviews.
2020-08-11 22:21:08 +02:00
Daniel Hillier
60626162f7
Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
2020-08-11 11:55:10 +02:00
Carlton Gibson
0aeb802cf0
Fixed #31865 -- Adjusted admin nav sidebar template to reduce debug logging.
...
Thanks to Mariusz Felisiak for review.
2020-08-11 11:42:15 +02:00
Mariusz Felisiak
8a5683b6b2
Added stub release notes for 2.2.16 and 3.0.10.
2020-08-11 10:31:44 +02:00
Roy Zheng
804f2b7024
Added note about password updates on argon2 attributes change.
2020-08-11 07:51:27 +02:00
Uri
b2b0711b55
Refs #31864 -- Doc'd that DEFAULT_HASHING_ALGORITHM requires 3.1.1+ in release notes.
2020-08-08 17:32:28 +02:00
Mariusz Felisiak
99abfe8f4d
Fixed #31864 -- Fixed encoding session data during transition to Django 3.1.
...
Thanks אורי for the report.
2020-08-07 21:42:39 +02:00
Adam Alton
6e9c5ee88f
Removed unnecessary sentence in QuerySet docs.
2020-08-07 08:05:47 +02:00
Thomas
cdead4f013
Fixed typo in docs/ref/contrib/postgres/fields.txt.
2020-08-07 07:33:11 +02:00
Nick Pope
0a306f7da6
Fixed #25513 -- Extracted admin pagination to Paginator.get_elided_page_range().
2020-08-06 12:38:56 +02:00