Good day! Prompt, please, good people, it is better to use: choices
? Imagine a situation is, the object Item
(thing) field unit
(unit), what I need to do?
If I'm going to do with choices
, then, for me, would be inconvenient to edit the name of existing units or add new ones.
If I do it with ForeignKey
, I think, decreases productivity due to the extra queries to the database.
Please explain which of the two evils?
UNIT = (
unit = models.CharField(choices = UNIT)
Code with ForeignKey
unit = models.ForeignKey("Unit")