2011-10-22 12:30:10 +08:00
|
|
|
from django.conf.urls import url, patterns
|
|
|
|
from django.http import HttpResponse
|
|
|
|
|
2013-11-03 05:34:05 +08:00
|
|
|
|
2011-10-22 12:30:10 +08:00
|
|
|
def helloworld(request):
|
|
|
|
return HttpResponse("Hello World!")
|
|
|
|
|
|
|
|
urlpatterns = patterns(
|
|
|
|
"",
|
|
|
|
url("^$", helloworld)
|
2013-10-18 17:02:43 +08:00
|
|
|
)
|