I develop an application using Flask. I use Postgres db (psycop2), SQLAlchemy and Flask-Admin for admin interface. And I got a problem and can\'t find a solution. I have man
Adding this for people like me that stumble upon this answer, it didn't work for me, but
def __str__(self): return self.name
worked just fine ;)