page:recipes:admin dashboard:django:tenant workspaces

Host admin dashboard with Django: tenant-scoped workspaces

Deploy an admin dashboard built with Django on Ample using the multi-tenant relational data pattern. Compute runs the app in an isolated microVM behind a public HTTPS URL, a managed PostgreSQL 16 database is auto-provisioned and injected as DATABASE_URL. Verified on Django: a tenant column on every row and query, with a cross-tenant read returning nothing (tenant_isolation=ok). Not separately tested: your tenant model, membership and per-tenant authorization; treat the admin dashboard-specific behavior as your application code.

Summary

Deploy an admin dashboard with the following features:

Representative Queries

Resource Requirements

Prerequisites

Tested Configuration

Workflow Steps

  1. Build and Start: pip install into .ample/python from requirements.txt
  2. Implement the Pattern on PostgreSQL: Use a tenant column for every row.
  3. Deploy: Run the synchronous deploy and read the result with ample deploy . --name --public --start "python3 run.py".
  4. Verify: Fetch the live URL and check for tenant isolation with ample logs --kind build.

Limitations

Cost Estimate

Evidence Summary