django/tests/check_framework/urls/name_with_colon.py

8 lines
150 B
Python

from django.conf.urls import include, url
urlpatterns = [
url('^', include([
url(r'^$', lambda x: x, name='name_with:colon'),
])),
]