| Age | Commit message (Collapse) | Author |
|
ManifestStaticFilesStorage docs about paths in comments.
Backport of bae053d497ba8a8de7e4f725973924bfb1885fd2 from main.
|
|
Backport of 4038a8df0b8c20624ba826cf9af8f532e5a51aaa from main
|
|
Backport of ce8189eea007882bbe6db22f86b0965e718bd341 from main
|
|
Backport of ecafcaf634fcef93f9da8cb12795273dd1c3a576 from main
|
|
Thanks to Jakob Ackermann for the report.
|
|
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 1eb94bc8dab46dfa117d21ef4f3b52aebb593615 from main
|
|
4bfe8c0eec835b8eaffcda7dc1e3b203751a790a.
Backport of 3e9d413231edc29768cc7ca0427e63b19233f562 from main
|
|
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.
Backport of 534ac4829764f317cf2fbc4a18354fcc998c1425 from main.
|
|
This is consistent with the terminology used for the percent_rank()
function in SQLite docs and PostgreSQL docs.
Backport of 7bb741d787ba360a9f0d490db92e22e0d28204ed from main
|
|
Backport of 358792486e3afd83250364ebc15060820a8a96cc from main
|
|
UniqueConstraint.
Backport of 292aacaf6c3d6956ca2c51c41e36dbf425389346 from main
|
|
Backport of 1964e4367f293336b47e30af6e10a5eca5fdfb35 from main
|
|
ValidationError with no code.
Thanks Mateusz Kurowski for the report.
Regression in 667105877e6723c6985399803a364848891513cc.
Backport of 2fd755b361d3da2cd0440fc9839feb2bb69b027b from main
|
|
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 7715c9fef55c8775608cdb64d5666c7f90ada937 and
1df7814e4b76211a13eaecd77a05137006b82723 from main
|
|
Set date for 4.1.7 release.
Backport of 7e003428f96d616c1f77fed84882a95e63bc3644 from main
|
|
Backport of 7c6195ef81075b03a704431b5d08ec597e8573f7 from main
|
|
See https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2.
Thanks Markus Holtermann for the report.
|
|
Backport of f3c89744cc801cc7d134bca9958c4a74aa76380f from main
|
|
Backport of 36e3eef7d5a4c88671d20a561788679d0d9c334c from main
|
|
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.
|
|
Co-authored-by: Faris Naimi <farisfaris66@gmail.com>
Backport of 40217d1a82b0c16cddba377325d12b2c253f402a from main
|
|
Wrapped hashing is only possible if the inner wrapped function is the
same as the previous hasher.
Backport of 0265b1b49ba10f957abfd1311d0bae0ecefc3111 from main
|
|
UniqueConstraint with ordered expressions.
Thanks Dan F for the report.
Bug in 667105877e6723c6985399803a364848891513cc.
Backport of 2b1242abb3989f5d74e787b09132d01bcbee5b55 from main
|
|
Backport of d8e1442ce2c56282785dd806e5c1147975e8c857 from main
|
|
Backport of 1df963ad2476726d63be132c0cee47e07b8250d7 from main
|
|
objects.
Backport of 5cd1385356d4b275133ddb0f8c78b2f37c5901eb from main
|
|
Backport of d54717118360e8679aa2bd0c5a1625f3e84712ba from main
|
|
Backport of 2785e121c7eb941202565343d3880da6ba5aa21d from main
|
|
Follow up to 772cd2b15b158679b9dc15fb599aa935ec7c25b1.
Backport of a209f6625936cff2c714e99735782663dc95218f from main
|
|
reporting section.
Backport of e2964fed1761981ff7e5c60762e954f307cf7969 from main
|
|
|
|
|
|
|
|
|
|
with psycopg version 3.
Thanks Guillaume Andreu Sabater for the report.
Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
|
|
|
|
Co-authored-by: Christian Bundy <me@christianbundy.com>
|
|
|
|
|
|
|
|
|
|
Follow up to 1833eb3f3e3bda5052637f1a51a27fa1b11b6871.
|
|
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>
|
|
Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for
reviews.
|
|
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
|
|
This bumps minimum supported versions of 3rd-party packages to the first
releases to support Python 3.8.
|
|
mysqlclient 1.4.3 is the first release to support Python 3.8.
|
|
|
|
|
|
and tests.
|