mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00: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),
|
|
]
|