''tuple' object has no attribute 'get' Django, how i can fix this?

enter image description here

view.py

from django.views.generic import ListView
from .models import post
# Create your views here.

class HomePageView(ListView):
    model = post
    template_name = 'home.html'
    context_object_name = 'all_posts_list'

i'm beginner, just start learning django framework



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source