Printing from Grappelli

Skip to first unread message

Tony Shrimpton

Aug 23, 2015, 7:21:49 AM8/23/15
to Django Grappelli
Hi Guys,

I finally got around to trying Grappelli today, and so far I really like the features. My only concern is the lack of ability to print pages from the browser (you know, onto dead trees). Printing from the Django admin works OK, but from Grappelli the formatting disappears. So far I've tried Firefox on Linux and Chrome on Windows with the same results.

Am I doing something wrong or will Grappelli not currently format printed pages nicely?


Tony Shrimpton

Aug 24, 2015, 8:09:18 PM8/24/15
to Django Grappelli
I managed to get it to work by editing a file that I probably shouldn't  ~/python2.7/site-packages/grappelli/templates/admin/base.html

I changed media="screen" to media="all", as suggested in the link below. This made Grappelli pages print much better, as they do in django admin. Is there a reason the Grappelli admin has this media="screen" setting?


Axel Swoboda

Aug 25, 2015, 4:53:22 AM8/25/15
There are currently no print styles for Grappelli.
Regards, Axel

You received this message because you are subscribed to the Google Groups "Django Grappelli" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit
Reply all
Reply to author
0 new messages