DB ORM Schema¶
We can use Django's ability for introspection of models to test that models have the right fields, field types as well as properties such as unique, default, null, PK, FK etc.
The tests illustrate a range of ORM model features that are tested.