Is it possible to show pagenumber with django pisa for only two or more pages? The template for displaying pagenumber is as follows:
<div id="footerContent">
<p>Page <pdf:pagenumber></p>
</div>
I think it is necessary to get the number of pages before they are processed by pisa. Any option to use an if / else statement like this pseudo:
if pages > 1:
...
else:
...
If you want to display, for example. Page 1/5 (page one of five) also need to get the number of pages ?! There is no solution in Pisa for this?
source
share