mirror of
https://github.com/Hopiu/django.git
synced 2026-05-15 02:54:18 +00:00
14 lines
226 B
Python
14 lines
226 B
Python
|
|
from django.conf.urls import include, url
|
||
|
|
from django.http import HttpResponse
|
||
|
|
|
||
|
|
|
||
|
|
def view(request):
|
||
|
|
return HttpResponse('')
|
||
|
|
|
||
|
|
|
||
|
|
urlpatterns = [
|
||
|
|
url('^', include([
|
||
|
|
url(r'/starting-with-slash/$', view),
|
||
|
|
])),
|
||
|
|
]
|