Use PostgreSQL constraints to protect Django business invariants | MavenHost