django/tests/check_framework/urls/beginning_with_slash.py

7 lines
146 B
Python

from django.conf.urls import include, url
urlpatterns = [
url('^', include([
url(r'/starting-with-slash/$', lambda x: x),
])),
]