flask admin forgeign keys show literal code example
Example: flask admin forgeign keys show literal
class DoctorType(db.Model):
#...
def __repr__(self):
return self. doctor_type_english_name
class DoctorType(db.Model):
#...
def __repr__(self):
return self. doctor_type_english_name