Skip to content
Advertisement

Paginator not displaying page numbers Django

I’m trying to use the paginator inbuild Django module so that the user can pass the pages. The problem is that I’ve configured everything as it should, but the pages numbers are not displaying. The place where it should have the numbers is entirely blank. Why can that due to?

Home Shop Shop
JavaScript

views.py:

JavaScript

Any help i would really appreciate it. I’ve been trying to fix this issue for a while.

Advertisement

Answer

You have to use your posts object.

view.py

JavaScript

template.html

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement