This website requires JavaScript.
Explore
Help
Sign In
p15693087
/
django
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
bece837829
django
/
tests
/
check_framework
/
urls
/
beginning_with_slash.py
6 lines
101 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
'
/starting-with-slash/$
'
,
lambda
x
:
x
)
,
Refs #23813 -- Moved URLconfs into module and tidied docstrings.
2015-09-22 01:45:56 +08:00
]