Guide for deploying Django applications written in Python.
Supported Python Versions
Django Version | Supported Python Version |
---|---|
Django 3.1 | 3.6, 3.7, 3.8, 3.9 |
Django 3.2 | 3.6, 3.7, 3.8, 3.9, 3.10 |
Django 4.0 | 3.8, 3.9, 3.10 |
Django 4.1 | 3.8, 3.9, 3.10, 3.11 |
Django 4.2 | 3.8, 3.9, 3.10, 3.11, 3.12 |
Django 5.0 | 3.10, 3.11, 3.12 |
Django 5.1 | 3.10, 3.11, 3.12 |
On the dashboard, click or ⌘ + K
to open the deployment modal and select the Python template. Then choose a GitHub repository from the dropdown or input a Git repository URL in the Git URL tab.
ALLOWED_HOSTS
and CSRF_TRUSTED_ORIGINS
are correctly set in settings.py
for pages to load properly.Apply the following settings to ensure your service runs seamlessly.
Basic Settings
8000
(default)python3 manage.py runserver 0:8000
(default)More Options
Deploy