mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
11 lines
207 B
Python
11 lines
207 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)
|
|
)
|