> ## Documentation Index
> Fetch the complete documentation index at: https://hoopdev-update-to-meta-tags.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Django

> Interact with the Artisan console or execute ad-hoc scripts.

## Prerequisites

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

* Either [create an account in our managed instance](https://use.hoop.dev) or [deploy your own hoop.dev instance](/getting-started/installation/overview)
* You must be your account administrator to perform the following commands

## Configuration

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

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

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

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

## How to Use

Users can now connect and perform ad-hoc executions.

```bash
hoop connect django-demo
```

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