質問編集履歴
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
def index(request):
|
13
13
|
connection = Connection.objects.filter(following=request.user)
|
14
14
|
contents = Content.objects.filter(owner=connection.follower)
|
15
|
-
return render(request, 'content/index.html', {'contents':contents}
|
15
|
+
return render(request, 'content/index.html', {'contents':contents})
|
16
16
|
#model
|
17
17
|
class Content(models.Model):
|
18
18
|
owner= models.ForeignKey(CustomUser, on_delete=models.CASCADE)
|