mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23813 -- Moved URLconfs into module and tidied docstrings.
This commit is contained in:
committed by
Tim Graham
parent
392f64842f
commit
f2975c021d
7
tests/check_framework/urls/name_with_colon.py
Normal file
7
tests/check_framework/urls/name_with_colon.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.conf.urls import include, url
|
||||
|
||||
urlpatterns = [
|
||||
url('^', include([
|
||||
url(r'^$', lambda x: x, name='name_with:colon'),
|
||||
])),
|
||||
]
|
||||
Reference in New Issue
Block a user