0
0
mirror of https://github.com/django/django.git synced 2024-11-28 10:48:32 +01:00
django/tests/check_framework/urls/beginning_with_slash.py
2022-02-07 20:37:05 +01:00

7 lines
167 B
Python

from django.urls import path, re_path
urlpatterns = [
path("/path-starting-with-slash/", lambda x: x),
re_path(r"/url-starting-with-slash/$", lambda x: x),
]