2018-12-08 06:52:28 +08:00
|
|
|
from django.urls import include, path, re_path
|
2015-09-22 01:45:56 +08:00
|
|
|
|
|
|
|
urlpatterns = [
|
2018-12-08 06:52:28 +08:00
|
|
|
path("foo/", lambda x: x, name="foo"),
|
2015-09-22 01:45:56 +08:00
|
|
|
# This dollar is ok as it is escaped
|
2018-12-08 06:52:28 +08:00
|
|
|
re_path(
|
|
|
|
r"^\$",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path("bar/", lambda x: x, name="bar"),
|
2015-09-22 01:45:56 +08:00
|
|
|
]
|
|
|
|
),
|
2022-02-04 03:24:19 +08:00
|
|
|
),
|
2015-09-22 01:45:56 +08:00
|
|
|
]
|