summaryrefslogtreecommitdiff
path: root/tests/check_framework/urls/no_warnings.py
blob: d100f04590d32f8dc785a43b92806053d638e238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from django.urls import include, path, re_path

urlpatterns = [
    path("foo/", lambda x: x, name="foo"),
    # This dollar is ok as it is escaped
    re_path(
        r"^\$",
        include(
            [
                path("bar/", lambda x: x, name="bar"),
            ]
        ),
    ),
]