Creating my first view

This commit is contained in:
David Doblas Jiménez 2022-01-02 17:54:34 +01:00
parent da97b7ef60
commit 5fd8621793
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def project_list(request):
msg = "<h1>Hello, World!</h1>"
return HttpResponse(msg)