Tags:
Forums: 

พอดีผมใช้ Django 2 แล้วลองทำ search กับ pagination ในหน้าจอเดียวกันครับ ทำผ่าน ListView แล้วใช้ get_queryset() ดึงข้อมูลแทน ตอนดึงข้อมูลรู้สึกว่าจะทำงานได้แค่ส่วนเดียวครับคือ search ได้แต่ pagination ไม่ทำงาน เหมือน get_queryset() ส่งได้แค่ค่าเดียว

Get latest news from Blognone