Class Based Views : filter items by users

2017-07-04 Thread Nabil BOUDERBALA
As you can see from my template below, i have a list of users who posted items and I would like to get the list of items for each user. However, using the view below I only get the list for the current logged user. How can I modify my views.py so that it filters items for each one of the list

Re: Class Based Views : filter items by users

2017-07-07 Thread Nabil BOUDERBALA
not part handed > off to the template). > > > > But you could start but not naming 2 different variables inside > eachother's scope identical. > > > > On Tuesday 04 July 2017 09:36:51 Nabil BOUDERBALA wrote: > > > > > {% if user %} > >