Commit bf8dd38e authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #33 from redouane/master

fixed problem with wtf.FileField not getting updated with request.files data upon instantiation of Form
parents a912410d e64b89a6
......@@ -447,7 +447,7 @@ class BaseModelView(BaseView, ActionsMixin):
Override to implement custom behavior.
"""
return self._create_form_class(form, obj)
return self._create_form_class(obj=obj)
def edit_form(self, form, obj=None):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment