added login form

This commit is contained in:
CDaut 2022-05-31 19:11:08 +02:00 committed by CDaut
parent 6ef58d975d
commit 3f62283c42
7 changed files with 42 additions and 11 deletions

View file

@ -3,9 +3,8 @@ from django.shortcuts import render
# Create your views here.
def viewblog(request):
return None
return render(request, 'blog/index.html')
def addpost(request):
context = {'title': 'Neuen Post erstellen'}
return render(request, 'blog/addpost.html', context)
return render(request, 'blog/addpost.html')