mirror of
https://github.com/django/django.git
synced 2024-12-27 19:46:22 +00:00
11 lines
211 B
Python
11 lines
211 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)
|
|
)
|