@@ -37,6 +37,7 @@ INSTALLED_APPS = [ | |||
'django.contrib.sessions', | |||
'django.contrib.messages', | |||
'django.contrib.staticfiles', | |||
'posts', | |||
] | |||
MIDDLEWARE = [ |
@@ -1,5 +1,6 @@ | |||
from django.shortcuts import HttpResponse | |||
from django.shortcuts import render | |||
# Create your views here. | |||
def index(request): | |||
return HttpResponse("Index-Seite der posts-Applikation") | |||
return render(request, 'posts/index.html') |