Django how to print pstree in a webpage?

17 views
Skip to first unread message

Eswar Dileep

unread,
Feb 25, 2019, 7:18:19 AM2/25/19
to Django users
I have created a django project and now when I click on a button I have to show the output of pstree in the webpage. How do I do that? 

Your help is appreciated.

anthony....@gmail.com

unread,
Feb 26, 2019, 8:51:19 AM2/26/19
to Django users
Hi,

I suppose that it depends on the form and type of your pstree variable (tuple, list, dict...) and also if you put it as a context variable.
Could you send us the related view ?

Thx 
Reply all
Reply to author
Forward
0 new messages