Templates
This commit is contained in:
+2
-3
@@ -1,7 +1,6 @@
|
||||
from django.http import HttpResponse
|
||||
|
||||
from django.shortcuts import render
|
||||
|
||||
|
||||
def index (request):
|
||||
return HttpResponse("Index-Seite der Posts-Applikation")
|
||||
return render(request, 'posts/index.html')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user