This website requires JavaScript.
Explore
Help
Sign In
p31829507
/
django
mirror of
https://github.com/django/django.git
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
Projects
Releases
Wiki
Activity
d896809a3a
django
/
tests
/
check_framework
/
urls
/
name_with_colon.py
6 lines
105 B
Python
Raw
Normal View
History
Unescape
Escape
Added an explicit test that URL checks are recursive.
2016-04-28 05:38:00 +08:00
from
django
.
conf
.
urls
import
url
Refs #23813 -- Moved URLconfs into module and tidied docstrings.
2015-09-22 01:45:56 +08:00
urlpatterns
=
[
Added an explicit test that URL checks are recursive.
2016-04-28 05:38:00 +08:00
url
(
r
'
^$
'
,
lambda
x
:
x
,
name
=
'
name_with:colon
'
)
,
Refs #23813 -- Moved URLconfs into module and tidied docstrings.
2015-09-22 01:45:56 +08:00
]