Django
The Django blueprint creates the infrastructure for a Django application and waits for an application image from the connected build workflow.
Resources
- One Disk for PostgreSQL data
- One PostgreSQL 16 database
- One App configured for port
8000 - One Route targeting the App
The blueprint configures DATABASE_URL and the individual DB_* values from PostgreSQL resource variables. It also configures the assigned hostname for ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS.
Deploy
- Open Blueprints in the target pod.
- Select Django and enter a deployment name.
- Install the blueprint.
- Open the generated App and connect the Django repository.
- Merge the onboarding pull request and complete a successful build.
- Deploy the resulting revision and monitor the App's events.
The initial App uses a placeholder image and cannot serve the Django application until a build artifact is available.
Next steps
- Builds: Configure repository builds
- PostgresDB: Review database variables
- Custom domains: Attach a domain