Hi,

I have the following context and I am trying to write it correctly in a 
function 

This is context data :

def post_view(request):
    qs= Post.objects.all()
    user= request.user

    context= {
        'qs':qs,
        'user':user,
    } 

I am trying to define it in a class PostListView(ListView):

I need help writing it correctly 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e81a0fc9-f0ab-4f3b-b61d-827a67db0466%40googlegroups.com.

Reply via email to