summaryrefslogtreecommitdiff
path: root/tests/check_framework/test_urls.py
AgeCommit message (Collapse)Author
2026-02-10Fixed #36903 -- Fixed further NameErrors when inspecting functions with ↵93578237
deferred annotations. Provide a wrapper for safe introspection of user functions on Python 3.14+. Follow-up to 601914722956cc41f1f2c53972d669ddee6ffc04.
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
2024-02-19Fixed #35229 -- Made URL custom error handler check run once.Adam Johnson
2023-07-11Fixed #34691 -- Added system check for unmatched angle brackets in path().Amir Karimi
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
2021-06-09Fixed #32195 -- Added system check for invalid view in path() and improved ↵Angus Holder
error messages.
2021-03-30Fixed #32260 -- Made View.as_view() do not use update_wrapper().Daniyal
View.as_view() should not use update_wrapper() for copying attributes it's unintended and have side-effects such as adding `self` to the signature. This also fixes system check for arguments of custom error handler views with class-based views. Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2020-04-15Fixed #31459 -- Fixed handling invalid indentifiers in URL path conversion.Adam Johnson
This patch adjusted existing tests that used invalid identifiers.
2019-04-25Fixed #30318 -- Added check for importability of arguments of custom error ↵Alasdair Nicol
handler views. Thanks to Jon on Stack Overflow for reporting the issue.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-09-14Fixed #29642 -- Added check for arguments of custom error handler views.Adam Johnson
2017-11-07Fixed #28663 -- Add a check for likely incorrectly migrated ↵Chris Lamb
django.urls.path() routes.
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20Added a checks test for valid i18n patterns.Tim Graham
2016-12-23Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check.Adam Chainz
2016-12-21Wrapped an import per isort.Tim Graham
2016-12-21Fixed #27612 -- Added a check for duplicate URL instance namespaces.Andrew Nester
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-09-19Fixed #27238 -- Disabled check_pattern_startswith_slash if ↵Alasdair Nicol
settings.APPEND_SLASH=False. Thanks strycore for the report and timgraham for suggesting the solution.
2016-09-01Clarified URL regex check message with respect to include().Riccardo Magliocchetti
2016-06-14Removed usage of a few deprecated unittest assertions.Ville Skyttä
2016-04-30Fixed #26440 -- Added a warning for non-url()s in urlpatterns.Alasdair Nicol
Thanks Burhan Khalid for the initial patch and knbk/timgraham for review.
2016-04-29Added an explicit test that URL checks are recursive.Alasdair Nicol
2016-02-01Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.Buddy Lindsey, Jr
2015-09-21Refs #23813 -- Moved URLconfs into module and tidied docstrings.Alasdair Nicol
2015-09-21Fixed #23813 -- Added checks for common URL pattern errorsAlasdair Nicol
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah for their reviews.