Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With WTForms 3.1.2 and wtf-peewee 3.0.5: __________________________ test_column_editable_list ___________________________ flask_admin/tests/peeweemodel/test_basic.py:247: in test_column_editable_list assert 'test1_val_3' in data E AssertionError: assert 'test1_val_3' in '<!doctype html>\n<html lang=en>\n<title>500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n' ------------------------------ Captured log call ------------------------------- ERROR flask_admin.tests.conftest:app.py:838 Exception on /admin/model1/ajax/update/ [POST] Traceback (most recent call last): File "/home/runner/work/flask-admin/flask-admin/.tox/py312-flask3-wtforms3/lib/python3.12/site-packages/peewee.py", line 7285, in get return clone.execute(database)[0] ~~~~~~~~~~~~~~~~~~~~~~~^^^ ... File "/home/runner/work/flask-admin/flask-admin/.tox/py312-flask3-wtforms3/lib/python3.12/site-packages/wtfpeewee/fields.py", line 261, in __call__ return self.widget(self, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/flask-admin/flask-admin/flask_admin/model/widgets.py", line 98, in __call__ kwargs = self.get_kwargs(field, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/flask-admin/flask-admin/flask_admin/model/widgets.py", line 161, in get_kwargs for value, label, selected in field.iter_choices(): ^^^^^^^^^^^^^^^^^^^^^^ ValueError: too many values to unpack (expected 3)
- Loading branch information