You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python2.7/dist-packages/Flask_Admin-1.0.8-py2.7.egg/flask_admin/model/base.py", line 540, in _refresh_cache
self._search_supported = self.init_search()
File "/usr/local/lib/python2.7/dist-packages/Flask_Admin-1.0.8-py2.7.egg/flask_admin/contrib/sqla/view.py", line 414, in init_search
'Failed to setup search for "%s"' % p)
Exception: Can only search on text columns. Failed to setup search for "name"
The problem seems to be that sqlalchemy (0.9.8) reflection inspector detects String Columns (as defined in my model) as VARCHAR Columns. This does not match any of flask-admins allowed text column types:
I registered a custom ModelView to my CompanyModel
This throws an exception:
The problem seems to be that sqlalchemy (0.9.8) reflection inspector detects String Columns (as defined in my model) as VARCHAR Columns. This does not match any of flask-admins allowed text column types:
The text was updated successfully, but these errors were encountered: