summaryrefslogtreecommitdiff
path: root/tests/check_framework/urls/path_compatibility/matched_angle_brackets.py
diff options
context:
space:
mode:
authorAmir Karimi <amk9978@gmail.com>2023-07-04 17:09:09 +0330
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-07-11 11:59:27 +0200
commitd1855c4847215f3afe3708736be13388bb6437eb (patch)
tree26a006f50f57ef468eb3858877f3907ed429f459 /tests/check_framework/urls/path_compatibility/matched_angle_brackets.py
parent2ddfa3e2b63d7a77270711dbe63aafb86abf4ddd (diff)
Fixed #34691 -- Added system check for unmatched angle brackets in path().
Diffstat (limited to 'tests/check_framework/urls/path_compatibility/matched_angle_brackets.py')
-rw-r--r--tests/check_framework/urls/path_compatibility/matched_angle_brackets.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/check_framework/urls/path_compatibility/matched_angle_brackets.py b/tests/check_framework/urls/path_compatibility/matched_angle_brackets.py
new file mode 100644
index 0000000000..de3076942d
--- /dev/null
+++ b/tests/check_framework/urls/path_compatibility/matched_angle_brackets.py
@@ -0,0 +1,5 @@
+from django.urls import path
+
+urlpatterns = [
+ path("<int:angle_bracket>", lambda x: x),
+]