Prerequisites

To get the most out of this guide, you will need to:

Configuration

To proxy the manage.py shell command, execute the following command within your root application path.

hoop run --name django-demo --command 'manage.py shell'

To proxy ad-hoc executions, add the command manage.py shell -.

hoop run --name django-demo --command 'manage.py shell -'

How to Use

Users can now connect and perform ad-hoc executions.

hoop connect django-demo
hoop exec django-demo -i 'print("Hello World")'