0
0
mirror of https://github.com/django/django.git synced 2024-11-24 20:07:01 +01:00
django/tests/check_framework/urls/no_warnings.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
297 B
Python
Raw Normal View History

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"),
]
),
),
]