mirror of
https://github.com/django/django.git
synced 2024-11-20 08:24:58 +00:00
8 lines
150 B
Python
8 lines
150 B
Python
|
from django.conf.urls import include, url
|
||
|
|
||
|
urlpatterns = [
|
||
|
url('^', include([
|
||
|
url(r'^$', lambda x: x, name='name_with:colon'),
|
||
|
])),
|
||
|
]
|