I am trying to use flask-admin, which seems great and easy, but I have a problem.
I have a field in a collection which is defined as a ListField()
, with an implicit type of None
for the list field type. The reason I am not defining a type for the field, is because I am keeping a list of lists, and there is no other elegant way (that I found) to accomplish this with mongoengine.
But flask-admin won't let me define such a field, with an error of ListField "movements" must have field specified for model
.
Is there a way around this?