diff --git a/core/templates/pagination.html b/core/templates/pagination.html new file mode 100644 index 0000000..55c735f --- /dev/null +++ b/core/templates/pagination.html @@ -0,0 +1,16 @@ + + + + {% if page_obj.has_previous %} + « first + previous + {% endif %} + {% for page in page_obj.paginator.page_range %} + {{ page }} + {% endfor %} + {% if page_obj.has_next %} + next + last » + {% endif %} + + \ No newline at end of file