Django _set.all filter not working in template
问题 I'm trying to filter a list of objects in my database but I can't get it to work on the template using _set.all . The strange thing is it's something I've done in two other places in my project but I cant see why it isnt working this time. view.py: class GolfMonthlyView(generic.ListView): template_name="monthly_view/golf-monthly-view.html" context_object_name='golf_monthly_view' queryset = GolfMonthlyView.objects.all() def get_context_data(self, **kwargs): context = super(GolfMonthlyView,