mirror of
https://github.com/ae-utbm/sith.git
synced 2026-04-02 16:59:43 +00:00
Fix 500 error on all broken pagination pages where with context was missing
This commit is contained in:
@@ -124,6 +124,9 @@
|
||||
This must be coupled with a view that handles pagination
|
||||
with the Django Paginator object.
|
||||
|
||||
Warning:
|
||||
You must include this macro `with context` as it uses the `querystring` macro
|
||||
|
||||
Parameters:
|
||||
current_page (django.core.paginator.Page): the current page object
|
||||
paginator (django.core.paginator.Paginator): the paginator object
|
||||
@@ -139,6 +142,9 @@
|
||||
|
||||
The replaced fragment will be #content so make sure you are calling this macro inside your content block.
|
||||
|
||||
Warning:
|
||||
You must include this macro `with context` as it uses the `querystring` macro
|
||||
|
||||
Parameters:
|
||||
current_page (django.core.paginator.Page): the current page object
|
||||
paginator (django.core.paginator.Paginator): the paginator object
|
||||
|
||||
Reference in New Issue
Block a user