This commit is contained in:
2019-11-12 13:44:41 +01:00
parent 76d9e9cc8c
commit 1e6304653d
6 changed files with 80 additions and 5 deletions
-1
View File
@@ -1,5 +1,4 @@
from django.apps import AppConfig
class PostsConfig(AppConfig):
name = 'posts'
View File
+2 -4
View File
@@ -1,7 +1,5 @@
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
#create your views here.
def index(request):
return HttpResponse("Posts Index")
return render(request, 'posts/index.html')