[Answered ]-Django โ€“ print multiple pages

2๐Ÿ‘

โœ…

As far as Iโ€™m concerned, only one ModelAdmin per model is possible.

You could add ?all to the url in address bar to list all items to make your life a bit easier, but this unfortunately only works up to a certain total amount of items (200 I guess).

You might also consider increasing the number of items per page to a number that is a good balance between the convenience of browsing it in your browser and printing it.

However, depending on the reason you want to print the page, I would suggest you create a view in your website that generates the required table for easy printing. That allows you to add some extra parameters to your print too, like the printing date (although your browser might put it somewhere too).

You could also consider generating a pdf file, or something like that.

๐Ÿ‘คralphje

Leave a comment