12 lines
340 B
Python
12 lines
340 B
Python
from django.shortcuts import render
|
|
from django.http import HttpResponse
|
|
|
|
# Create your views here.
|
|
|
|
|
|
def index_view(request):
|
|
# When this view is requested we will respond with this text
|
|
text = "Hello World! This is the testapp."
|
|
# Build a Http response with our text and send it to the requester
|
|
return HttpResponse(text)
|