---
title: "Come utilizzare Django con Hypercorn"
version: 5.1
locale: it
source: https://docs.djangoproject.com/it/5.1/howto/deployment/asgi/hypercorn/
canonical: https://djangodocs.dev/it/5.1/howto/deployment/asgi/hypercorn/
---
# Come utilizzare Django con Hypercorn

[Hypercorn](https://hypercorn.readthedocs.io/) è un server ASGI che supporta HTTP/1, HTTP/2 e HTTP/3 con enfasi sul supporto al protocollo.

## Installa Hypercorn

You can install Hypercorn with `pip`:

```shell
python -m pip install hypercorn
```

## Utilizzare Django in Hypercorn

When [Hypercorn](https://pypi.org/project/Hypercorn/) is installed, a `hypercorn` command is available
which runs ASGI applications. Hypercorn needs to be called with the
location of a module containing an ASGI application object, followed
by what the application is called (separated by a colon).

For a typical Django project, invoking Hypercorn would look like:

```shell
hypercorn myproject.asgi:application
```

Questo avvierà il processo che ascolta su `127.0.0.1:8000`. Richiede che il tuo progetto sia sul percorso di Python; per assicurartene, lancia questo comando dalla stessa directory del tuo file `manage.py`.

Per un utilizzo più avanzato, leggi la [documentazione di Hypercorn](https://hypercorn.readthedocs.io/).
