vanessa
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class PostsConfig(AppConfig):
|
||||
name = 'posts'
|
||||
|
||||
@@ -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')
|
||||
Reference in New Issue
Block a user