mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
d73d0e071c
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
11 lines
183 B
Python
11 lines
183 B
Python
from django.conf.urls import url
|
|
from django.http import HttpResponse
|
|
|
|
|
|
def helloworld(request):
|
|
return HttpResponse("Hello World!")
|
|
|
|
urlpatterns = [
|
|
url("^$", helloworld),
|
|
]
|