mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
13 lines
230 B
Python
13 lines
230 B
Python
from django.conf.urls import include, url
|
|
from django.http import HttpResponse
|
|
|
|
|
|
def view(request):
|
|
return HttpResponse('')
|
|
|
|
|
|
urlpatterns = [
|
|
url('^', include([
|
|
url(r'^$', view, name='name_with:colon'),
|
|
])),
|
|
]
|