New AI model review & branches · django-erm 0.1.0

Your Django models,
as a living ER diagram

Install one package and get a beautiful, interactive entity-relationship diagram that updates itself with your code. Then take it to the cloud to branch, review and design with your team.

pip install django-erm
shop · v12 · main
Explorer

General

  legacy_audit_log

Shop

  shop_order *

  shop_orderline

  shop_product

Accounts

  auth_user

Shop

shop_order

statusCharField
customer_idFK
customer_emailEmailField
totalDecimal

shop_orderline

order_idFK
product_idFK
quantityInteger

auth_user

usernameCharField
emailEmailField
Comments
Ana · 2 min agocustomer_email duplicates auth_user.email — 3NF?
Luis · just nowAgreed, I moved it to a branch 👍
AI reviewTransitive dependency detected (3NF). Read it through customer.
Features

Everything your schema deserves

The diagram reflects your real models — not a drawing that drifts out of date.

Generated from your code

Every model, field, FK, one-to-one and many-to-many table, grouped by app. Even DB tables without a model.

Automatic versions

Change a model and a new version appears — keeping your layout. Jump back to any previous version.

Threads on anything

Comment on apps, tables, fields and relations. Replies, images and file attachments included.

Branches Cloud

Fork a version, try a redesign, compare. A tree of proposals that never touches main.

Model review Cloud

1NF/2NF/3NF checks, naming, money-as-float, missing indexes, FK mismatches — with fixes.

AI assistant Pro

Streams its reasoning live, answers about your schema and opens its proposals as branches. Your own key.

How it works

From models.py to diagram in a minute

Install the package

Free and open source. Works offline, zero JS dependencies.

pip install django-erm

Add two lines

Then open /erm/ on your dev server.

# settings.py
INSTALLED_APPS += ["django_erm"]
# urls.py
path("erm/", include("django_erm.urls"))

Push to the cloud

Always-on diagram for the team, no local server needed.

python manage.py erm_push

No Django project yet? Start from scratch or import DBML (dbdiagram.io), SQL (drawsql.app, pg_dump) or a models.py — and export back to Django code.

Pricing

Start free. Upgrade when your team does.

Open source

$0
forever, self-hosted
  • The django-erm package
  • Automatic versions
  • Edits, comments & attachments
  • Export Django / DBML / SQL / PNG
pip install

Pro

$12 /month
per editor
  • Hosted, always-on diagrams
  • Unlimited branches
  • Model review & AI assistant
  • Share with your team
Start free trial

Cloud Free

$0
to try it out
  • 1 hosted project
  • 3 branches
  • Model review
  • Comments & exports
Create account

See your database the way you think about it

It takes less time than reading this page.

Enter ERM Cloud →