[Answered ]-How to show choices of field in another table(model) value?

2👍

As django doc says:

But if you find yourself hacking choices to be dynamic, you’re
probably better off using a proper database table with a ForeignKey.

You should then have:

class NutritionalValues(models.Model):
    key = models.ForeignKey(Nutritionalkey)
    ...
👤albar

Leave a comment