Self-hosted · Ubuntu 24.04 · Open architecture

Every Django project.
One server. Zero drama.

django.au is a control panel built for Django. Upload a project, press Test, press Deploy. Each project gets its own Postgres database, Redis user, virtualenv, service and HTTPS certificate, all on one machine you own.

1 server instead of many~5 min per migrated project0 root access for the web app
root@django-au: ~
$ sudo ./install.sh
==> PostgreSQL
  ✓ Found local PostgreSQL 16 (reusing it)
==> Redis
  ✓ Found Redis 7.0, ACL users created
==> Privilege boundary
  ✓ worker → djau-helper only, web has no sudo
==> nginx
  ✓ HTTPS certificate issued for panel.django.au

django.au is installed.
  Panel:  https://panel.django.au
  User:   admin  (password shown once)
$ 
Features

Everything a Django site needs.
Nothing it doesn't.

django.au understands Django: settings, migrations, static files, Celery. It isn't a generic container host with Django bolted on.

Isolated by design

One Linux user, Postgres role, Redis ACL user and systemd sandbox per project. A project can't read another's files, data or keys.

Settings inspector

Reads settings.py statically, then loads it in a no-network sandbox and shows exactly what will break, with a ready-made patch.

Upload any way

A web file manager with drag-and-drop folders, a .zip, or a git URL with deploy keys. Then pick settings.py and press Test.

Database & Redis viewers

Browse tables and run read-only SQL as the project's own role. Inspect and clear Redis keys inside the project's prefix.

HTTPS in one click

Let's Encrypt certificates for every domain, automatic renewal, HTTP→HTTPS redirect and sensible TLS defaults.

Nightly offsite backups

Every database dumped, then code, media and config snapshotted with restic to S3, B2 or SFTP, encrypted and pruned on a schedule.

How it works

From upload to live in three steps

No Dockerfiles, no YAML. If it runs with manage.py runserver, it runs on django.au.

Create a project

Give it a name and domains. django.au reserves a Linux user, a database, a Redis prefix and a port, and gives you a migration token.

Bring the code

Upload it, clone it, or run djau-export.sh on the old server to send code, database, media and .env in one go.

Test, then Deploy

Fix anything the inspector flags, then deploy: venv with uv, migrate, collectstatic, gunicorn, nginx, health check.

Migration

Move a whole VPS with one script and one token

Each project gets a single-use migration token. Run the export script on the old server, paste the token, and everything lands in the right project.

  • Finds it all on its own: manage.py, the virtualenv, .env, and the live database and media settings.
  • Postgres or SQLite: pg_dump for Postgres, dumpdata → loaddata for SQLite.
  • Safe: the old server is never changed. Tokens are hashed, scoped to one project and expire in 7 days.
  • Remaps config: old database and Redis settings are replaced with the new ones; your other env vars come across.
root@old-vps: ~
$ bash djau-export.sh
Migration token: ••••••••••••••••
  ✓ Token valid for project: Shop (shop)
  ✓ Code root: /srv/shop
  ✓ Python 3.12.3 (/srv/shop/venv)
  ✓ Database: postgresql / shop
==> Dumping database   ✓ 184M
==> Packing media      ✓ 2.1G
==> Uploading to https://panel.django.au
████████████████████████████ 100%
  ✓ Import complete. Review the Test and press Deploy.
Settings check · shop2 to fix
✓
Settings loaded with Django 5.2 on Python 3.12Sandboxed: project user, no network, 512 MB cap
✕
SECRET_KEY is hardcoded (line 23)Read it from the SECRET_KEY environment variable
!
Cache KEY_PREFIX is outside this project's Redis ACLUse KEY_PREFIX = os.environ["REDIS_KEY_PREFIX"]
✓
Database resolves to s_shop (injected)
-SECRET_KEY = "django-insecure-plp*pq=xa$…" +SECRET_KEY = os.environ["SECRET_KEY"] -DEBUG = True +DEBUG = os.environ.get("DEBUG", "False").lower() in ("1", "true")
Test before you deploy

Catch problems before your users do

django.au never imports your settings into the panel and never edits them silently. It shows you what it found and suggests a patch, and you decide.

  • Conflict checks: a database that already exists, a domain used by another project, a missing Postgres driver.
  • Compatibility: Django against Python version, unpinned packages, STATIC_ROOT outside the project.
  • Config through .env: DATABASE_URL, REDIS_URL, SECRET_KEY and ALLOWED_HOSTS are injected for you.
Security

The web app never runs as root

Privileged work goes through a worker that can call exactly one audited helper. Every argument is validated, and nothing reaches a shell.

Narrow sudo

The worker's sudoers entry allows /usr/local/sbin/djau-helper and nothing else. The web user has no sudo at all.

Sandboxed code

Project code, pip installs and the settings probe run as the project's own user inside systemd sandboxes with memory limits.

Least-privilege data

The Postgres admin can create databases but isn't a superuser. Viewers use each project's own credentials, in read-only transactions.

Ubuntu 24.04PostgreSQL 16Redis 7 ACLsnginxLet's EncryptgunicornuvCelerysystemdrestic
Get started

Your server. Your projects. One panel.

Fresh Ubuntu 24.04 or an existing box. Postgres and Redis already running? django.au finds them and reuses them.

$ sudo ./install.sh
Sign in to your panel Read the FAQ
FAQ

Questions

Do my projects need Docker?

No. Each project runs as a normal gunicorn service under systemd with its own virtualenv built by uv. If it runs with manage.py runserver, it will run here.

How many projects fit on one server?

It depends on traffic and memory. Each project has a memory limit you set (512 MB by default) plus a worker count. A 4 GB server comfortably runs several small to medium sites, and the dashboard shows memory, disk and load.

Does it support Celery?

Yes. Set the Celery app on the project and django.au runs a sandboxed worker (and optionally beat) next to gunicorn, using the project's own Redis user with a key prefix.

Will it change my settings.py?

Never on its own. The inspector shows a unified diff that switches hardcoded values to environment variables. You can apply it with one click, which keeps a .bak copy, or commit it to your repository yourself.

What about backups?

Point it at any restic repository (S3, Backblaze B2, SFTP, REST) and it dumps every database nightly, snapshots code, media and config, and applies daily, weekly and monthly retention. djau-restore brings a single project back.

Can I reach the server myself?

Of course. It's your machine. Everything lives in plain, documented places: /srv/djau/sites/<project>, /etc/djangoau, and systemd units named djau-site-<project>.