This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
django
mirror of
https://github.com/django/django.git
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
24
Releases
Wiki
Activity
46dcdf9a29
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-27 21:38:00 +00:00
from
django
.
conf
.
urls
import
url
Refs #23813 -- Moved URLconfs into module and tidied docstrings.
2015-09-21 17:45:56 +00:00
urlpatterns
=
[
Added an explicit test that URL checks are recursive.
2016-04-27 21:38:00 +00:00
url
(
r
'
/starting-with-slash/$
'
,
lambda
x
:
x
)
,
Refs #23813 -- Moved URLconfs into module and tidied docstrings.
2015-09-21 17:45:56 +00:00
]