Django: Setting up database code tables (aka reference tables, domain tables)?
- by User
Often times applications will need some database code tables (aka reference tables or domain tables or lookup tables). Suppose I have a model class called Status with a field called name that could hold values like:
Canceled
Pending
InProgress
Complete
Where and at what point would I setup these values in Django? Its like a one time operation to setup these values in the database. Infrequently, these values could be added to.