django1/tests/check_framework/urls/beginning_with_slash.py

8 lines
146 B
Python

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