Tim Graham
48b2ba8a55
[4.2.x] Moved DatabaseIntrospection.get_table_description() internal_size release note to "Database backend API" section.
...
Backport of 31cd2852cb
from main
2023-02-22 05:18:03 +01:00
Mariusz Felisiak
e1c74bf458
[4.2.x] Refs #21080 , Refs #34322 -- Added warning to ManifestStaticFilesStorage docs about paths in comments.
...
Backport of bae053d497
from main.
2023-02-16 19:20:41 +01:00
David Smith
ce10686604
[4.2.x] Refs #32339 -- Doc'd BaseFormSet.as_div()
...
Backport of 4038a8df0b
from main
2023-02-15 09:24:59 +01:00
Carlton Gibson
b7aab1fb3a
[4.2.x] Fixed #34328 -- Added async-only class-based middleware example.
...
Backport of ce8189eea0
from main
2023-02-14 14:16:19 +01:00
Carlton Gibson
ac8cf0ae76
[4.2.x] Added CVE-2023-24580 to security archive.
...
Backport of ecafcaf634
from main
2023-02-14 09:53:00 +01:00
Markus Holtermann
7ac5ff37b8
[4.2.x] Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.
...
Thanks to Jakob Ackermann for the report.
2023-02-14 08:21:18 +01:00
Sarah Boyce
de42d51361
[4.2.x] Fixed #29994 -- Added warning about performance of FileBasedCache with a large number of files.
...
Co-authored-by: sheenarbw <699166+sheenarbw@users.noreply.github.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 1eb94bc8da
from main
2023-02-13 21:09:55 +01:00
Sota Tabu
8cc5caa113
[4.2.x] Fixed #34318 -- Added release note for 4bfe8c0eec
.
...
Backport of 3e9d413231
from main
2023-02-13 14:13:16 +01:00
Carlton Gibson
b784768eef
[4.2.x] Refs #34140 -- Applied rst code-block to non-Python examples.
...
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.
Backport of 534ac48297
from main.
2023-02-10 21:12:06 +01:00
dennisvang
4a89aa25c9
[4.2.x] Fixed #34325 -- Corrected wording in PercentRank() docs.
...
This is consistent with the terminology used for the percent_rank()
function in SQLite docs and PostgreSQL docs.
Backport of 7bb741d787
from main
2023-02-10 19:07:24 +01:00
p0lygun
aaacf72c4c
[4.2.x] Fixed #34324 -- Mentioned Discord server in contributing index.
...
Backport of 358792486e
from main
2023-02-10 06:21:04 +01:00
Willem Van Onsem
7a88b1f5aa
[4.2.x] Fixed #34311 -- Updated serialization docs from unique_together to UniqueConstraint.
...
Backport of 292aacaf6c
from main
2023-02-09 05:56:31 +01:00
Carlton Gibson
efe16fd72a
[4.2.x] Added missing vars to AdminSite.each_context() docs.
...
Backport of 1964e4367f
from main
2023-02-08 18:00:37 +01:00
Mariusz Felisiak
836ae73a89
[4.2.x] Fixed #34319 -- Fixed Model.validate_constraints() crash on ValidationError with no code.
...
Thanks Mateusz Kurowski for the report.
Regression in 667105877e
.
Backport of 2fd755b361
from main
2023-02-08 16:39:53 +01:00
Tim Schilling
757c456d23
[4.2.x] Fixed #34146 -- Added 3rd-party lib tutorial step.
...
Added a tutorial step that highlights Django Debug Toolbar, on of the
most common third party packages. It also added a mention of
djangopackages.com as a place to search for other libraries and a
link to Adam Johnson’s post on evaluating whether a package is
well-maintained.
Third-party packages are one of Django’s strengths. This should give
folks a sound route in.
Backport of 7715c9fef5
and
1df7814e4b
from main
2023-02-07 20:22:11 +01:00
Carlton Gibson
600b88db4c
[4.2.x] Added stub release notes for 4.0.10 and 3.2.18.
...
Set date for 4.1.7 release.
Backport of 7e003428f9
from main
2023-02-07 10:10:22 +01:00
Marcelo Galigniana
9306a8d18f
[4.2.x] Fixed #34310 -- Added deletion example to one-to-one topic.
...
Backport of 7c6195ef81
from main
2023-02-07 08:05:17 +01:00
Mariusz Felisiak
9a1848f48c
[4.2.x] Increased the default PBKDF2 iterations for Django 4.2.
...
See https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2 .
Thanks Markus Holtermann for the report.
2023-02-04 13:36:06 +01:00
Mariusz Felisiak
ba7d8ac37d
[4.2.x] Added stub release notes for 4.1.7.
...
Backport of f3c89744cc
from main
2023-02-01 13:22:00 +01:00
Mariusz Felisiak
379b37171b
[4.2.x] Added CVE-2023-23969 to security archive.
...
Backport of 36e3eef7d5
from main
2023-02-01 12:10:03 +01:00
Nick Pope
8a7b22d4a6
[4.2.x] Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Language.
...
The parsed values of Accept-Language headers are cached in order to
avoid repetitive parsing. This leads to a potential denial-of-service
vector via excessive memory usage if the raw value of Accept-Language
headers is very large.
Accept-Language headers are now limited to a maximum length in order
to avoid this issue.
2023-02-01 09:45:07 +01:00
Durval Carvalho
af396ce3f9
[4.2.x] Fixed #34180 -- Added note about resetting language in test tear-downs.
...
Co-authored-by: Faris Naimi <farisfaris66@gmail.com>
Backport of 40217d1a82
from main
2023-01-31 07:29:21 +01:00
fschwebel
5159e05e40
[4.2.x] Fixed typo in docs/topics/auth/passwords.txt.
...
Wrapped hashing is only possible if the inner wrapped function is the
same as the previous hasher.
Backport of 0265b1b49b
from main
2023-01-30 08:32:13 +01:00
Mariusz Felisiak
719a14badc
[4.2.x] Fixed #34291 -- Fixed Meta.constraints validation crash on UniqueConstraint with ordered expressions.
...
Thanks Dan F for the report.
Bug in 667105877e
.
Backport of 2b1242abb3
from main
2023-01-26 09:32:14 +01:00
Carlton Gibson
d43fbdf6f1
[4.2.x] Adjusted release notes for 4.1.6, 4.0.9, and 3.2.17.
...
Backport of d8e1442ce2
from main
2023-01-25 12:26:40 +01:00
Carlton Gibson
50432e3fd5
[4.2.x] Set date and added stub release notes for 4.1.6, 4.0.9, and 3.2.17.
...
Backport of 1df963ad24
from main
2023-01-25 11:58:35 +01:00
noFFENSE
fa52bb7774
[4.2.x] Fixed #34242 -- Doc'd that primary key is set to None when deleting objects.
...
Backport of 5cd1385356
from main
2023-01-20 10:57:30 +01:00
John Whitlock
a3771c8229
[4.2.x] Fixed typo in docs/releases/4.2.txt.
...
Backport of d547171183
from main
2023-01-17 19:28:19 +01:00
Mariusz Felisiak
1452e7cb7f
[4.2.x] Doc'd that 4.2 is LTS.
...
Backport of 2785e121c7
from main
2023-01-17 19:25:44 +01:00
Mariusz Felisiak
2cbb3c9135
[4.2.x] Removed remaining empty sections from 4.2 release notes.
...
Follow up to 772cd2b15b
.
Backport of a209f66259
from main
2023-01-17 14:05:51 +01:00
Sébastien Corbin
57680658f3
[4.2.x] Fixed #34264 -- Moved release note about session cookies into error reporting section.
...
Backport of e2964fed17
from main
2023-01-17 13:09:47 +01:00
Mariusz Felisiak
81818cc555
[4.2.x] Bumped django_next_version in docs config.
2023-01-17 08:54:30 +01:00
Mariusz Felisiak
9409312eef
Updated man page for Django 4.2 alpha.
2023-01-17 08:51:17 +01:00
Mariusz Felisiak
e734cccea0
Made cosmetic edits to docs/releases/4.2.txt.
2023-01-17 08:51:17 +01:00
Mariusz Felisiak
772cd2b15b
Removed empty sections from 4.2 release notes.
2023-01-17 08:51:17 +01:00
Mariusz Felisiak
0e2649fdf4
Fixed #34255 -- Made PostgreSQL backend use client-side parameters binding with psycopg version 3.
...
Thanks Guillaume Andreu Sabater for the report.
Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
2023-01-17 08:24:08 +01:00
Mariusz Felisiak
c8a76059ff
Refs #34255 -- Bumped required psycopg version to 3.1.8.
2023-01-17 08:24:08 +01:00
sarahboyce
0fbdb9784d
Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
...
Co-authored-by: Christian Bundy <me@christianbundy.com>
2023-01-16 09:31:34 +01:00
Steven
4b7016866a
Fixed "nulls characters" typo in docs.
2023-01-16 07:54:00 +01:00
Leo
5da5f3773e
Fixed #34234 -- Dropped support for PROJ 4.
2023-01-13 12:31:41 +01:00
Jarosław Wygoda
32940d390a
Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
2023-01-12 09:58:36 +01:00
Jarosław Wygoda
1ec3f0961f
Fixed #26029 -- Allowed configuring custom file storage backends.
2023-01-12 06:20:57 +01:00
Mariusz Felisiak
d4b4c1cae4
Corrected used JS libraries in GIS widget docs.
...
Follow up to 1833eb3f3e
.
2023-01-10 14:25:44 +01:00
Mariusz Felisiak
552384fa97
Refs #31014 -- Added FromWKB and FromWKT GIS database functions.
...
Co-authored-by: Ondřej Böhm <ondrej.bohm@firma.seznam.cz>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2023-01-10 11:51:09 +01:00
Francesco Panico
72efd840a8
Fixed #34110 -- Added in-memory file storage.
...
Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for
reviews.
2023-01-10 10:56:59 +01:00
Nick Pope
b47f2f5b90
Fixed #33865 -- Optimized LimitedStream wrapper.
...
The current implementation of LimitedStream is slow because .read()
performs an extra copy into a buffer and .readline() performs two
extra copies. The stream being wrapped is already typically a BytesIO
object so this is unnecessary.
This implementation has largely been untouched for 12 years and,
inspired by a simpler implementation in werkzeug, it was possible to
achieve the following performance improvement:
LimitedStream.read() (single line):
Mean +- std dev: [bench_limitedstream-main] 286 ns +- 6 ns
-> [bench_limitedstream-patch] 227 ns +- 6 ns: 1.26x faster
LimitedStream.readline() (single line):
Mean +- std dev: [bench_limitedstream-main] 507 ns +- 11 ns
-> [bench_limitedstream-patch] 232 ns +- 8 ns: 2.18x faster
LimitedStream.read(8192) (single line):
Mean +- std dev: [bench_limitedstream-main] 360 ns +- 8 ns
-> [bench_limitedstream-patch] 297 ns +- 6 ns: 1.21x faster
LimitedStream.readline(8192) (single line):
Mean +- std dev: [bench_limitedstream-main] 602 ns +- 10 ns
-> [bench_limitedstream-patch] 305 ns +- 10 ns: 1.98x faster
LimitedStream.read() (multiple lines):
Mean +- std dev: [bench_limitedstream-main] 290 ns +- 5 ns
-> [bench_limitedstream-patch] 236 ns +- 6 ns: 1.23x faster
LimitedStream.readline() (multiple lines):
Mean +- std dev: [bench_limitedstream-main] 517 ns +- 19 ns
-> [bench_limitedstream-patch] 239 ns +- 7 ns: 2.16x faster
LimitedStream.read(8192) (multiple lines):
Mean +- std dev: [bench_limitedstream-main] 363 ns +- 8 ns
-> [bench_limitedstream-patch] 311 ns +- 11 ns: 1.17x faster
LimitedStream.readline(8192) (multiple lines):
Mean +- std dev: [bench_limitedstream-main] 601 ns +- 12 ns
-> [bench_limitedstream-patch] 308 ns +- 7 ns: 1.95x faster
Geometric mean: 1.59x faster
2023-01-05 19:26:56 +01:00
Mariusz Felisiak
63d1cb0092
Refs #32355 -- Bumped minimum supported versions of 3rd-party packages.
...
This bumps minimum supported versions of 3rd-party packages to the first
releases to support Python 3.8.
2023-01-05 18:09:33 +01:00
Mariusz Felisiak
7d9329935a
Refs #32355 -- Bumped mysqlclient requirement to >= 1.4.3.
...
mysqlclient 1.4.3 is the first release to support Python 3.8.
2023-01-05 16:34:14 +01:00
Raj Desai
d2310f6473
Fixed #34232 -- Fixed typo in docs/intro/tutorial07.txt.
2023-01-04 13:26:34 +01:00
Mariusz Felisiak
5cf9ff970e
Fixed #33961 -- Updated admin's jQuery to 3.6.3.
2023-01-04 11:28:09 +01:00
David Wobrock
99bd5fb4c2
Refs #34074 -- Used headers argument for RequestFactory and Client in docs and tests.
2023-01-04 09:11:36 +01:00
Mike Crute
0b78ac3fc7
Fixed #34200 -- Made the session role configurable on PostgreSQL.
2023-01-03 09:30:53 +01:00
Claude Paroz
2a14b8df39
Fixed #33783 -- Added IsEmpty GIS database function and __isempty lookup on PostGIS.
2023-01-03 05:47:44 +01:00
Florian Apolloner
afa2e28205
Fixed #34235 -- Added ManifestFilesMixin.manifest_hash attribute.
...
This adds ManifestFilesMixin.manifest_hash attribute exposing a "hash"
of the full manifest. This allows applications to determine when their
static files have changed.
2023-01-02 09:53:52 +01:00
Mariusz Felisiak
75500feecd
Added stub release notes for 4.1.6.
2023-01-02 08:50:33 +01:00
Mariusz Felisiak
174d8157b5
Added release date for 4.1.5.
2023-01-02 08:10:59 +01:00
Mariusz Felisiak
ecbb5db65d
Fixed #34208 -- Confirmed support for GDAL 3.6.
2022-12-29 11:35:41 +01:00
Paul Schilling
298d02a77a
Fixed #25617 -- Added case-insensitive unique username validation in UserCreationForm.
...
Co-Authored-By: Neven Mundar <nmundar@gmail.com>
2022-12-29 09:42:22 +01:00
Claude Paroz
1833eb3f3e
Upgraded OpenLayers to v.7.2.2.
2022-12-29 08:30:30 +01:00
Mariusz Felisiak
279967ec85
Disabled auto-created table of contents entries on Sphinx 5.2+.
...
Auto-created table of contents entries for all domain objects (e.g.
functions, classes, attributes, etc.) were added in Sphinx 5.2, see
https://github.com/sphinx-doc/sphinx/issues/6316 .
An option to control new table of contents entries was added in Sphinx
5.2.3, see https://github.com/sphinx-doc/sphinx/pull/10886 .
2022-12-29 06:07:51 +01:00
Adrian Torres
7eee1dca42
Fixed #14094 -- Added support for unlimited CharField on PostgreSQL.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-12-28 12:31:04 +01:00
kimsoungryoul
78f163a4fb
Fixed #18468 -- Added support for comments on columns and tables.
...
Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz
Felisiak for reviews.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-12-28 06:28:07 +01:00
Carlton Gibson
0bd2c0c901
Fixed #33735 -- Added async support to StreamingHttpResponse.
...
Thanks to Florian Vazelle for initial exploratory work, and to Nick
Pope and Mariusz Felisiak for review.
2022-12-22 10:41:12 +01:00
Mariusz Felisiak
2d676ee119
Updated translations from Transifex.
...
Updated Bulgarian, Esperanto, Hungarian, Japanese, Macedonian, Persian,
Portuguese (Brazil), Russian, Spanish, and Turkmen translations.
Forwardport of 46b28bbe15
from stable/4.1.x.
2022-12-20 19:34:59 +01:00
Carlton Gibson
32d70b2f55
Refs #34118 -- Adopted asgiref coroutine detection shims.
...
Thanks to Mariusz Felisiak for review.
2022-12-20 11:10:48 +01:00
Andrew Godwin
a09d39f286
Refs DEP 12 -- Renamed TB to Steering Council wherever mentioned.
2022-12-20 09:10:59 +01:00
Mariusz Felisiak
0c60d11bdb
Fixed typo in docs/topics/async.txt.
2022-12-19 20:25:38 +01:00
Roxane
289e9a75af
Fixed #33662 -- Allowed Sitemap to customize languages for each item.
2022-12-19 12:51:52 +01:00
Andreas Pelme
ab7a85ac29
Fixed #34170 -- Implemented Heal The Breach (HTB) in GzipMiddleware.
2022-12-17 08:46:37 +01:00
TAKAHASHI Shuuji
05d70fb92b
Fixed typo in docs/topics/http/sessions.txt.
2022-12-16 09:55:21 +01:00
Daniele Varrazzo
09ffc5c121
Fixed #33308 -- Added support for psycopg version 3.
...
Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews.
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-12-15 06:17:57 +01:00
Paolo Melchiorre
d44ee518c4
Fixed #34213 -- Updated PostgreSQL package names in installing PostGIS docs.
2022-12-14 16:49:50 +01:00
Mariusz Felisiak
9d9ec0c79f
Removed KyngChaos packages from docs.
...
See https://www.kyngchaos.com/2022/09/11/goodbye-software-packaging/
2022-12-14 11:18:18 +01:00
James Gillard
c5ed884eab
Fixed #34205 -- Fixed Meta.constraints validation crash with ArrayField and __len lookup.
...
Regression in 88fc9e2826
that began
manifesting in Django 4.1.
2022-12-10 17:46:13 +01:00
SirAbhi13
b8738aea14
Fixed #33199 -- Deprecated passing positional arguments to Signer/TimestampSigner.
...
Thanks Jacob Walls for the implementation idea.
2022-12-09 12:44:48 +01:00
Mariusz Felisiak
cbc0fb3705
Made inspectdb used Cursor.description.display_size for CharFields' max_length.
...
internal_size is size for fixed-size types not for char types.
2022-12-08 09:00:35 +01:00
Mariusz Felisiak
95a101a690
Fixed #34201 -- Bumped minimum supported SQLite to 3.21.0.
2022-12-08 05:53:18 +01:00
Sylvain Fankhauser
0036bcdcb6
Fixed #34172 -- Improved ModelAdmin.get_urls example.
2022-12-07 11:23:13 +01:00
James Bligh
e44d348c99
Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage.
...
Co-authored-by: James Bligh <james.bligh@silvercloudhealth.com>
2022-12-07 10:56:00 +01:00
David Smith
9ac97e7eb5
Refs #32339 -- Updated Form API docs to prefer as_div() output style.
2022-12-07 10:49:45 +01:00
Carlton Gibson
845a5db38f
Added stub release notes for 4.1.5.
2022-12-06 10:20:27 +01:00
Carlton Gibson
f4a053a294
Added release date for 4.1.4.
2022-12-06 09:56:43 +01:00
Ryan Cheley
68bd8f4cb4
Fixed #24048 -- Corrected QuerySet.only() docs about interaction with defer().
2022-12-06 08:24:26 +01:00
Mariusz Felisiak
514884e9a5
Updated various links to HTTPS and new locations.
2022-12-06 05:59:43 +01:00
Alex Vandiver
cbce427c17
Fixed #34194 -- Added django.utils.http.content_disposition_header().
2022-12-05 13:08:00 +01:00
sdolemelipone
344593893b
Fixed #34199 -- Added example to StringAgg docs.
2022-12-05 05:19:23 +01:00
sdolemelipone
0abd8f1cb8
Fixed typo in docs/ref/contrib/postgres/aggregates.txt.
2022-12-05 05:06:32 +01:00
Simon Charette
0ff46591ac
Refs #33308 -- Deprecated support for passing encoded JSON string literals to JSONField & co.
...
JSON should be provided as literal Python objects an not in their
encoded string literal forms.
2022-12-01 19:14:00 +01:00
Mariusz Felisiak
e8dcef155c
Refs #33397 , Refs #34160 -- Added release note for resolving output_field changes.
2022-11-30 08:22:10 +01:00
Giebisch
85b52d22fd
Fixed #33701 -- Added fine-grained error locations to the technical 500 debug page.
2022-11-29 08:40:11 +01:00
sdolemelipone
9d726c7902
Fixed #34187 -- Made UserCreationForm save many-to-many fields.
2022-11-29 05:56:53 +01:00
Mariusz Felisiak
662497cece
Doc's check_password()'s setter and preferred arguments.
...
Follow up to 90e05aaeac
.
2022-11-28 08:13:51 +01:00
Giebisch
80c66e40f7
Fixed #33747 -- Added exception notes to the technical 500 debug page.
2022-11-25 08:16:10 +01:00
Riccardo Magliocchetti
df2db8b4a5
Adjusted BaseFormSet.get_form_kwargs example in docs.
2022-11-24 15:16:31 +01:00
Tibor Leupold
33f4de34e6
Fixed #34064 -- Adjusted locale override wording in settings docs.
2022-11-24 14:23:20 +01:00
Simon Charette
1297c0d0d7
Fixed #31679 -- Delayed annotating aggregations.
...
By avoiding to annotate aggregations meant to be possibly pushed to an
outer query until their references are resolved it is possible to
aggregate over a query with the same alias.
Even if #34176 is a convoluted case to support, this refactor seems
worth it given the reduction in complexity it brings with regards to
annotation removal when performing a subquery pushdown.
2022-11-23 17:46:07 +01:00
KrishnaKumar Thanki
d526d1569c
Fixed typo in settings topic doc.
2022-11-23 14:32:58 +01:00
Adam Zapletal
5322b57f56
Corrected a typo in signals reference.
2022-11-23 14:16:59 +01:00
Anders Hovmöller
9582f2f9d1
Refs #32873 -- Adjusted formatting note on USE_L10N default.
2022-11-23 12:28:42 +01:00
DevilsAutumn
4035bab56f
Fixed #34171 -- Fixed QuerySet.bulk_create() on fields with db_column in unique_fields/update_fields.
...
Bug in 0f6946495a
.
Thanks Joshua Brooks for the report.
2022-11-22 14:47:21 +01:00
Mariusz Felisiak
7d5329852f
Fixed #34177 -- Fixed QuerySet.bulk_create() crash on "pk" in unique_fields.
...
Bug in 0f6946495a
.
2022-11-22 14:26:23 +01:00
Ilya Bass
798e38c2b9
Fixed #31090 -- Logged transaction management queries.
...
Thanks to Petter Strandmark for the original idea and Mariusz Felisiak
for advice during the DjangoConUS 2022 Sprint!
2022-11-21 09:10:14 +01:00
Ben Cail
fbde929b19
Fixed #26056 -- Added QuerySet.values()/values_list() support for ArrayField's __overlap lookup.
...
Thanks Mads Jensen and kosz85 and the initial patch.
2022-11-18 05:53:37 +01:00
sarahboyce
7a5307974a
Fixed #34099 -- Added release notes for QuerySet.update_or_create() changes.
...
Follow up to 6cc0f22a73
.
Thanks Phil Gyford for the report.
2022-11-14 14:05:43 +01:00
sarahboyce
0678d65722
Refs #34099 -- Doc'd that custom Model.save() should update update_fields kwarg.
2022-11-14 13:43:07 +01:00
David Wobrock
67da22f08e
Fixed #34074 -- Added headers argument to RequestFactory and Client classes.
2022-11-14 10:21:51 +01:00
Tony Lechner
b088cc2fea
Fixed #34154 -- Made mixin headers consistent in auth docs.
2022-11-14 05:28:27 +01:00
Nick Pope
9bd174b9a7
Updated documentation and comments for RFC updates.
...
- Updated references to RFC 1123 to RFC 5322
- Only partial as RFC 5322 sort of sub-references RFC 1123.
- Updated references to RFC 2388 to RFC 7578
- Except RFC 2388 Section 5.3 which has no equivalent.
- Updated references to RFC 2396 to RFC 3986
- Updated references to RFC 2616 to RFC 9110
- Updated references to RFC 3066 to RFC 5646
- Updated references to RFC 7230 to RFC 9112
- Updated references to RFC 7231 to RFC 9110
- Updated references to RFC 7232 to RFC 9110
- Updated references to RFC 7234 to RFC 9111
- Tidied up style of text when referring to RFC documents
2022-11-10 13:52:17 +01:00
Trey Hunner
fad070b07b
Improved readability of string interpolation in frequently used examples in docs.
2022-11-10 13:18:38 +01:00
David Wobrock
0931d5b087
Improved async request factory and client docs.
2022-11-10 09:29:49 +01:00
Jon Janzen
321ecb40f4
Fixed #34135 -- Added async-compatible interface to related managers.
2022-11-09 10:32:40 +01:00
Ryan Cheley
8e6ea1d153
Fixed #10070 -- Added support for pyformat style parameters on SQLite.
...
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-11-08 12:26:39 +01:00
Jon Janzen
7b94847e38
Fixed #34139 -- Fixed acreate(), aget_or_create(), and aupdate_or_create() methods for related managers.
...
Bug in 58b27e0dbb
.
2022-11-08 06:20:10 +01:00
Simon Charette
76e37513e2
Refs #33374 -- Adjusted full match condition handling.
...
Adjusting WhereNode.as_sql() to raise an exception when encoutering a
full match just like with empty matches ensures that all case are
explicitly handled.
2022-11-07 20:23:53 +01:00
Simon Charette
5f09ab8c30
Refs #17144 -- Removed support for grouping by primary key.
...
No core backend require the feature anymore as it was only added to
support a MySQL'ism that has been deprecated since then.
2022-11-07 12:21:29 +01:00
Daniel Ivanov
5eab4d1924
Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items.
...
Bug in 480191244d
.
Thanks Michal Čihař for the report.
2022-11-07 06:15:54 +01:00
Adam Johnson
444b6da7cc
Refs #33939 -- Improved transaction.on_commit() docs.
2022-11-04 12:20:25 +01:00
Mariusz Felisiak
7b0e9ea53c
Fixed #34138 -- Avoided table rebuild when adding inline m2m fields on SQLite.
...
Regression in 2f73e5406d
.
Thanks David Wobrock for the report.
2022-11-04 09:30:23 +01:00
Nick Pope
0f4964535c
Removed obsolete references to pysqlite.
...
Obsolete since 1b06d5e6f6
.
2022-11-04 08:03:06 +01:00
Nick Pope
18dd184ef0
Noted that JSON1 extension is enabled by default on SQLite 3.38+.
2022-11-04 08:03:06 +01:00
Joseph Victor Zammit
71e9694856
Fixed #30801 -- Improved guidance for making good use of signals.
2022-11-02 17:21:15 +01:00
DevilsAutumn
d5bcdf858d
Fixed #34112 -- Added async-compatible interface to Model methods.
...
Thanks Adam Johnson for the review.
2022-11-02 09:14:17 +01:00
Filip Lajszczak
6103059592
Fixed #34054 -- Created a new fixtures topic.
...
Moved material from django-admin document into a new document, and
added new material.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-11-02 08:08:02 +01:00
Mariusz Felisiak
c765b62e32
Added stub release notes for 4.1.4.
2022-11-01 07:27:30 +01:00
Mariusz Felisiak
635e5643b3
Added release date for 4.1.3.
2022-11-01 06:54:19 +01:00
David Wobrock
a320aab512
Fixed #16211 -- Added logical NOT support to F expressions.
2022-10-31 09:55:51 +01:00
Nick Pope
970f61fefb
Removed obsolete doc reference to asyncio.iscoroutinefunction.
2022-10-29 13:34:22 +02:00
Mariusz Felisiak
eb6cc01d0f
Refs #33173 -- Doc'd Python 3.11 compatibility in Django 4.1.x.
2022-10-26 20:10:33 +02:00
Tobias Bengfort
350455b666
Fixed #33606 -- Cleansed sessionid cookie in error reports.
...
Co-authored-by: Simon Charette <charette.s@gmail.com>
2022-10-26 14:39:58 +02:00
Simon Willison
022a864a5d
Fixed #34109 -- Updated instructions for running with Uvicorn.
...
Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
2022-10-26 11:51:15 +02:00
Smile
83cdcac355
Improved "rebase" example for upstream changes in working with Git docs.
2022-10-24 10:04:38 +02:00
Giebisch
3283120cca
Fixed #34111 -- Made test runner with --debug-sql format SQL queries.
2022-10-24 08:11:30 +02:00
Smile
5ec64fa481
Corrected curl call in working with Git docs.
2022-10-21 16:12:12 +01:00
Ryan Cheley
38936f6a0c
Fixed typo in docs/ref/models/querysets.txt.
2022-10-21 16:02:39 +01:00
Diane DeMers Chen
a16132a9c4
Updated UTC uses to datetime.timezone.utc in docs.
2022-10-20 15:52:45 -07:00
Carlton Gibson
5c2c7277d4
Fixed #34085 -- Made management commands don't use black for non-Python files.
...
Bug in d113b5a837
.
Co-authored-by: programmylife <acmshar@gmail.com>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-10-20 13:38:31 -07:00
Mariusz Felisiak
7c884afe5a
Refs #23919 -- Updated obsolete buffer() references to memoryview().
...
Obsolete since 8cdc84726e
.
2022-10-13 19:49:57 +02:00
Alan D. Snow
da2621c3df
Updated example of creating GEOSGeometry from WKB to use memoryview.
2022-10-13 13:21:49 +02:00
Sergio
94e7f471c4
Fixed #34069 -- Made LocaleMiddleware respect language from requests when i18n patterns are used.
2022-10-13 10:38:26 +02:00
Mariusz Felisiak
004f985b91
Refs #34059 -- Doc'd lack of support for validation of constraints with JSONFields.
...
Thanks Dan LaManna for the report.
2022-10-12 11:50:13 +02:00
Paolo Melchiorre
7c9d0c31d5
Fixed #34086 -- Confirmed support for PostGIS 3.3.
2022-10-12 09:04:32 +02:00
Ralph Reid
d3579ca112
Fixed #25996 -- Revised performance section in URLs topic docs.
2022-10-10 08:02:35 +02:00
Gregor Gärtner
f0c06f8ab7
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
...
Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-10-08 08:07:38 +02:00
Gregor Gärtner
564b317fb5
Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to assertFormSetError().
...
Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-10-07 11:22:16 +02:00
J.V. Zammit
fa9ac16c13
Fixed #33797 -- Prioritized cached database backend for cached sessions in docs.
...
Co-authored-by: Adam Johnson <me@adamj.eu>
2022-10-07 09:39:35 +02:00
Shubh1815
7a39a691e1
Fixed #32603 -- Made ModelAdmin.list_editable use transactions.
2022-10-06 20:44:07 +02:00
Simon Charette
c6350d594c
Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().
...
Recent refactors allowed GROUP BY aliasing allowed for aliasing to be
entirely handled by the sql.Query.set_group_by and compiler layers.
2022-10-06 12:04:00 +02:00
Mariusz Felisiak
c583418e3e
Removed note about "0" IP address from tutorial.
...
Tutorial should offer only minimum, necessary, explanation.
2022-10-04 11:51:18 +02:00
Carlton Gibson
93d4c9ea1d
Added CVE-2022-36359 to security archive.
2022-10-04 10:12:11 +02:00
Carlton Gibson
7a08927323
Added stub release notes for 4.1.3 release.
2022-10-04 09:49:23 +02:00