| Age | Commit message (Collapse) | Author |
|
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0
Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main.
|
|
|
|
|
|
appropriate.
|
|
|
|
Thanks Adam Johnson and Tim Graham for the reviews.
Co-authored-by: Tim Graham <timograham@gmail.com>
|
|
|
|
|
|
classes.
This is the new contract since middleware refactoring in Django 1.10.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
with non-empty content.
|
|
Thanks to James Bennett for the initial implementation.
|
|
|
|
ADMINS/MANAGERS is set incorrectly.
|
|
|
|
|
|
|
|
|
|
(No behavior change since HTTP headers are case insensitive.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
trailing slash.
|
|
ConditionalGetMiddleware.
|
|
|
|
|
|
This makes gzip output deterministic, which allows
ConditionalGetMiddleware to reliably compare ETags on gzipped
content (views using the gzip_page() decorator in particular).
|
|
Django's conditional request processing can now produce 304 Not Modified
responses for content that is subject to compression.
|
|
|
|
ConditionalGetMiddleware.
|
|
|
|
|
|
The spec refers to it as a 'directive' rather than a 'tag':
https://tools.ietf.org/html/rfc6797#section-6.1.2
|
|
|
|
has Cache-Control: no-store.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
APPEND_SLASH independently.
|
|
If APPEND_SLASH=True and the referer is the URL without a trailing '/', then
BrokenLinkEmailsMiddleware shouldn't send an email.
|
|
|
|
|
|
Thanks Denis Cornehl for help with the patch.
|