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