django/tests/check_framework/urls/beginning_with_slash.py

8 lines
146 B
Python
Raw Normal View History

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