Pagination with filtered queryset in ListView

前端 未结 0 1746
逝去的感伤
逝去的感伤 2021-02-10 06:08

I have a heir of ListView which looks like that:

class Index(ListView):

    model = Recipe
    paginate_by = 9

    def get_template_names(self):
        if self         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题