mirror of
https://github.com/django/django.git
synced 2024-12-23 17:46:27 +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)
|
|
)
|