Creating a html template for the view

This commit is contained in:
2022-01-02 18:10:23 +01:00
parent 5fd8621793
commit a74b03e094
2 changed files with 3 additions and 5 deletions

View File

@@ -1,7 +1,5 @@
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)
return render(request, "projects/index.html")