Hey,
I built an Django app that adds a terminal using xterm.js to the admin.
It uses websockets with Django channels and xterm.js for the terminal.
Has multiple features as full screen mode, favorite commands, recording of actions and history of commands among others.
Here is the GitHub link:
Thanks for taking a look!