code: def create(action='', csrf=False, action_view='', **kwargs):
          
          if current_app.config['DROPZONE_IN_FORM']:
              return Markup('<div class="dropzone" id="myDropzone"></div>')
  
          if action:
              action_url = get_url(action)
          else:
              action_url = url_for(action_view, **kwargs)
  
          if csrf or current_app.config['DROPZONE_ENABLE_CSRF']:
              if 'csrf' not in current_app.extensions:
                  raise RuntimeError("CSRFProtect is not initialized. It's required to enable CSRF protect, \
                      see docs for more details.")
              csrf_field = render_template_string('<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>')
          else:
              csrf_field = ''
          return Markup('''<form action="%s" method="post" class="dropzone" id="myDropzone"
          enctype="multipart/form-data">%s</form>''' % (action_url, csrf_field))
docs: Create a Dropzone form with given action.
  
          .. versionchanged:: 1.4.2
              Added ``csrf`` parameter to enable CSRF protect.
  
          .. versionchanged:: 1.4.3
              Added ``action`` parameter to replace ``action_view``, ``action_view`` was deprecated now.
  
          .. versionchanged:: 1.5.0
              If ``DROPZONE_IN_FORM`` set to ``True``, create ``<div>`` instead of ``<form>``.
  
          :param action: The action attribute in ``<form>``, pass the url which handle uploads.
          :param csrf: Enable CSRF protect or not, same with ``DROPZONE_ENABLE_CSRF``.
          :param action_view: The view which handle the post data, deprecated since 1.4.2.