A customer wants to add custom fields to a django model we provide.
He wants to do this on his own, without programming.
These things should be addable:
- boolean (yes/no) fields. Optional "unset"
- single choice fields
- multiple choice fields
- single line text fields
- textarea fields
- date
Example:
The customer wants to add a field he calls "was successful". And the field > should have these choices: yes/no/unset. Defaulting to unset.
Things would be easy if I could do it by creating or extending a model. But in this case no source code changes are allowed :-(
How to solve this?
Update
Querying for instances with given values needs to be supported. Example: Show all instances where "was successful" is True.
JSONFieldenough?