requirements.txt file.
Django
Django - Async
This page explains how to set up async views for your Django application on Sevalla.
Django supports async views even when running under WSGI servers like Gunicorn, but this setup doesn’t deliver the full performance benefits of asynchronous execution. To take full advantage of async views in Django, your application must be run with an ASGI server.
Instead of Gunicorn, install an ASGI server like Granian and add it to your
Within Sevalla, update your start command to a custom one that uses Granian in Processes > Web process > Update process.
The name of your project and the port can be changed to match your app.
Previous
Django - Background tasksFind out how to add background tasks to your Django app in Sevalla.
Next