def deferred_upload_header_widget(node, kw): request = kw['request'] tmpstore = files.SessionDBFileUploadTempStore( request, filters=HEADER_RESIZER.complete ) return files.CustomFileUploadWidget(tmpstore)
def deferred_upload_header_widget(node, kw): request = kw['request'] tmpstore = files.SessionDBFileUploadTempStore( request, filters=HEADER_RESIZER.complete) return files.CustomFileUploadWidget(tmpstore, template=forms.TEMPLATES_PATH + "fileupload.pt")