Remove duplicates from QuerySelectField
问题 i'm running into issues with the following, and I'm wondering if it is even possible. I have a flask-admin adminview setup, with an extra form field which shows a dropdown based on a specific column (category) in the sql model. See code for clarification: model: class Item(db.Model): id = db.Column(db.Integer, primary_key = True) name = db.Column(db.String(128), index = True) category = db.Column(db.String(16)) I have the extra form field in Flask-Admin as follows: form_extra_fields = {