This website requires JavaScript.
Explore
Help
Sign In
innov
/
django1
Watch
1
Star
0
Fork
You've already forked django1
0
Code
Issues
Pull Requests
1
Projects
Releases
Wiki
Activity
3ff7b15bb7
django1
/
tests
/
user_commands
/
urls.py
6 lines
104 B
Python
Raw
Normal View
History
Unescape
Escape
Updated test URL patterns to use path() and re_path().
2018-12-08 06:52:28 +08:00
from
django
.
urls
import
path
Fixed #16734 -- Set script prefix even outside of requests Thanks Tim Graham for the review.
2015-10-24 03:02:34 +08:00
urlpatterns
=
[
Updated test URL patterns to use path() and re_path().
2018-12-08 06:52:28 +08:00
path
(
'
some/url/
'
,
lambda
req
:
req
,
name
=
'
some_url
'
)
,
Fixed #16734 -- Set script prefix even outside of requests Thanks Tim Graham for the review.
2015-10-24 03:02:34 +08:00
]