How to make a choices field in Flask like we have in Django?

I have a model in which one of the fields is a role, I want the model to accept one role out of two roles something like a manager or staff.
In Django for this, we have CHOICES, how we can implement it in Flask?

Source: Python-3x Questions

LEAVE A COMMENT