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:
committed by
Tim Graham
parent
392f64842f
commit
f2975c021d
9
tests/check_framework/urls/no_warnings.py
Normal file
9
tests/check_framework/urls/no_warnings.py
Normal 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'),
|
||||
])),
|
||||
]
|
||||
Reference in New Issue
Block a user