1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #23813 -- Moved URLconfs into module and tidied docstrings.

This commit is contained in:
Alasdair Nicol
2015-09-21 18:45:56 +01:00
committed by Tim Graham
parent 392f64842f
commit f2975c021d
10 changed files with 35 additions and 53 deletions

View File

@@ -0,0 +1,9 @@
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'),
])),
]