django1/tests/wsgi/urls.py

12 lines
208 B
Python

from django.conf.urls import url, patterns
from django.http import HttpResponse
def helloworld(request):
return HttpResponse("Hello World!")
urlpatterns = patterns(
"",
url("^$", helloworld)
)