| Age | Commit message (Collapse) | Author |
|
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
functools.cached_property.
Since Python 3.12, `functools.cached_property` no longer takes a lock
(https://github.com/python/cpython/issues/87634), which was the main
objection to using it instead of Django's own implementation.
`Prefetch(to_attr=...)` and the admindocs model detail page now accept
`functools.cached_property` as well as Django's own `cached_property`.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
|
|
Regression in bc03f1064e10fa247a46d4e8a98ba9b26aa4790d.
Thanks Jacob Walls for the report.
|
|
|
|
|
|
The admindocs app doesn't pass a log level to docutils when it parses
reStructured Text, so system messages can be logged during parsing.
|
|
Only users with view or change model permissions can access.
Thank you to Sarah Boyce for the review.
|
|
|
|
|
|
|
|
Co-Authored-By: Author: Alexander Lazarević <laza@e11bits.com>
|
|
|
|
|
|
This was problematic for screen reader users because they use headings
to navigate. Having two <h1> is confusing, and the one in the header
wasn’t particularly helpful since it’s the same on all pages.
|
|
|
|
|
|
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
URLResolver view-strings mapping to admindocs."
This reverts commit 7f3cfaa12b28d15c0ca78bb692bfd6e59d17bff1.
Thanks Tom Carrick and Greg Kaleka for reports.
|
|
Moved the functionality of URLResolver._is_callback(),
URLResolver._callback_strs, URLPattern.lookup_str() to
django.contrib.admindocs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TemplateDetailView.
|
|
middlewares.
|
|
|
|
|
|
|
|
|
|
|
|
leading newlines.
Used inspect.cleandoc() which implements PEP-257 instead of an internal
hook.
|
|
|
|
Previously simplify_regex() didn't handle trailing groups for regexp
without the end of string character ("$").
|
|
Thanks Claude Paroz for assistance with translations.
|
|
html.escape()/unescape().
|
|
|
|
|
|
|
|
Original patch by bkaluza. Tests and docs by humbertotm.
|
|
|
|
|
|
|
|
|
|
Regression in f0ef0c49e9284f262fbc63e8a497699ca4a248fe.
|
|
|
|
Thanks Tim Graham for the review.
|
|
|