added login form
This commit is contained in:
parent
6ef58d975d
commit
3f62283c42
7 changed files with 42 additions and 11 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue