mirror of
https://github.com/django/django.git
synced 2024-11-24 20:07:01 +01: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'),
|
||
|
])),
|
||
|
]
|