Commit e64b89a6 authored by Redouane Zait's avatar Redouane Zait

fixed problem with wtf.FileField not getting updated with request.files data...

fixed problem with wtf.FileField not getting updated with request.files data upon instantiation of Form
parent 87599455
...@@ -433,7 +433,7 @@ class BaseModelView(BaseView): ...@@ -433,7 +433,7 @@ class BaseModelView(BaseView):
Override to implement custom behavior. 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): 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