summaryrefslogtreecommitdiff
path: root/tests/admin_docs
AgeCommit message (Collapse)Author
2025-01-27Captured stderr during admin_docs test.Adam Zapletal
The admindocs app doesn't pass a log level to docutils when it parses reStructured Text, so system messages can be logged during parsing.
2024-11-11Fixed #17905 -- Restricted access to model pages in admindocs.sai-ganesh-03
Only users with view or change model permissions can access. Thank you to Sarah Boyce for the review.
2024-11-06Fixed #27409 -- Made admindocs support custom link text in docstrings.sai-ganesh-03
2024-11-04Fixed #35867, Refs #2411 -- Allowed links in admindocs view details summary.sai-ganesh-03
2024-02-14Fixed #35179 -- Made admindocs detect positional/keyword-only arguments.Salvo Polizzi
2024-01-29Fixed #24128 -- Made admindocs TemplateDetailView respect template_loaders.Kris Avi
Co-Authored-By: Author: Alexander Lazarević <laza@e11bits.com>
2023-11-14Fixed #34919 -- Added scope attribute to admindocs model templates.jedidiah
2023-07-03Fixed typo in tests/admin_docs/models.py.davidolz
2023-06-05Fixed #34621 -- Made admin site header render in <div> tag.Howard Cox
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.
2023-04-25Replaced docutils link by PyPI reference.Claude Paroz
2023-02-02Fixed #34286 -- Fixed admindocs markups for case-sensitive template/view names.skidipap
2022-12-28Fixed #14094 -- Added support for unlimited CharField on PostgreSQL.Adrian Torres
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-09-01Fixed #33955, Fixed #33971 -- Reverted "Fixed #32565 -- Moved internal ↵Mariusz Felisiak
URLResolver view-strings mapping to admindocs." This reverts commit 7f3cfaa12b28d15c0ca78bb692bfd6e59d17bff1. Thanks Tom Carrick and Greg Kaleka for reports.
2022-05-17Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs.Alokik Vijay
Moved the functionality of URLResolver._is_callback(), URLResolver._callback_strs, URLPattern.lookup_str() to django.contrib.admindocs.
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-14Fixed #28135 -- Made simplify_regex() handle non-capturing groups.Ayush Joshi
2021-09-22Fixed #32499 -- Escaped additional metacharacters in simplify_regex().Nick Pope
2021-09-22Refs #32499 -- Fixed escaped metacharacters in simplify_regex().Nick Pope
2021-09-22Refs #32499 -- Added more tests for simplify_regex().Nick Pope
2021-06-02Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs' ↵Florian Apolloner
TemplateDetailView.
2021-03-11Refs #32508 -- Raised ImproperlyConfigured instead of using "assert" in ↵Hasan Ramezani
middlewares.
2021-02-11Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.Ramon Saraiva
2021-02-04Fixed #31527 -- Allowed admindocs index to handle non-string URLconfs.Jim Xie
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-05-23Refs #30400 -- Improved typography in admin_doc/missing_docutils.html.Jon Dufresne
2020-05-18Updated docutils link to HTTPS and new location.Jon Dufresne
2019-11-29Fixed #30255 -- Fixed admindocs errors when rendering docstrings without ↵Baptiste Mispelon
leading newlines. Used inspect.cleandoc() which implements PEP-257 instead of an internal hook.
2019-10-23Added tests for middlewares' checks.Sergey Fedoseev
2019-08-30Fixed #30731 -- Fixed handling trailing groups in simplify_regex().Alan Crosswell
Previously simplify_regex() didn't handle trailing groups for regexp without the end of string character ("$").
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-04-25Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵Jon Dufresne
html.escape()/unescape().
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-27Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham
2018-11-26Removed empty setUp() in admindocs tests.Simon Charette
2018-06-03Fixed #29385 -- Made admindocs ModelDetailView show model properties.humbertotm
Original patch by bkaluza. Tests and docs by humbertotm.
2018-04-12Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.Paul Donohue
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-10Completed test coverage for ModelDetailView.Mads Jensen
2017-05-24Refs #27804 -- Used subTest() in several tests.Bruno Alla
2017-01-26Fixed #27781 -- Made simplify_regex() remove outstanding '?' characters.Mariusz Felisiak
Regression in f0ef0c49e9284f262fbc63e8a497699ca4a248fe.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-03Fixed #26621 -- Corrected simplify_regex()'s handling of named capture groups.Ketan Bhatt
2016-09-27Split admin_docs tests into separate files.Tim Graham
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-08-20Fixed #27018 -- Fixed admindocs crash with a view in a class.Helen Sherwood-Taylor
Generated correct admindocs URLs on Python 3. URLs generate 404s on Python 2, as in older versions of Django.
2016-06-18Fixed #24931 -- Made namespaced RegexURLResolvers populate callback strings.Markus Holtermann
Fixed a regression in 2f16ff5a6cbd71fc6c50e88e4087f3657222e90e. Thanks Tim Graham for the review.
2016-05-30Refs #26621 -- Added tests for admindocs.views.simplify_regex().Tim Graham