summaryrefslogtreecommitdiff
path: root/tests/check_framework/urls/no_warnings.py
blob: e1846fb884e7a54b316ca753711eca5843dee511 (plain)
1
2
3
4
5
6
7
8
9
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'),
    ])),
]