flask_pewee 更新后出现问题
我在 /usr/lib/python2.6/site-packages/flask_peewee/filters.py 中有以下行
for field_obj in model._meta.get_fields():
错误是:
File "/usr/lib/python2.6/site-packages/flask_peewee/filters.py", line 210, in make_field_tree
for field_obj in model._meta.get_fields():
AttributeError: 'ModelOptions' object has no attribute 'get_fields'