django/tests/check_framework/urls/name_with_colon.py

8 lines
150 B
Python
Raw Normal View History

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