Django Authorization: Invariants and Policies