mirror of
https://github.com/django/django.git
synced 2024-12-26 19:16:11 +00:00
10 lines
230 B
Python
10 lines
230 B
Python
|
from django.conf.urls import include, url
|
||
|
|
||
|
urlpatterns = [
|
||
|
url(r'^foo/', lambda x: x, name='foo'),
|
||
|
# This dollar is ok as it is escaped
|
||
|
url(r'^\$', include([
|
||
|
url(r'^bar/$', lambda x: x, name='bar'),
|
||
|
])),
|
||
|
]
|