This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
django
Watch
1
Star
0
Fork
0
You've already forked django
mirror of
https://github.com/django/django.git
synced
2024-12-29 12:36:08 +00:00
Code
Issues
30
Releases
Wiki
Activity
f80dbcf7dc
django
/
tests
/
user_commands
/
urls.py
6 lines
105 B
Python
Raw
Normal View
History
Unescape
Escape
Updated test URL patterns to use path() and re_path().
2018-12-07 22:52:28 +00:00
from
django
.
urls
import
path
Fixed #16734 -- Set script prefix even outside of requests Thanks Tim Graham for the review.
2015-10-23 19:02:34 +00:00
urlpatterns
=
[
Refs #33476 -- Reformatted code with Black.
2022-02-03 19:24:19 +00: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-23 19:02:34 +00:00
]
Reference in New Issue
Copy Permalink