(self, data=None, files=None,
                                  auto_id='id_%s', prefix=None, initial=None,
                                  error_class=ErrorList, label_suffix=':',
                                  empty_permitted=False, instance=None)
Get initialised edit form.

        Used in ``dash.views.edit_dashboard_entry`` view.
Get initialised edit form.
Get initialised edit form .
def get_initialised_edit_form(self, data=None, files=None,
                                  auto_id='id_%s', prefix=None, initial=None,
                                  error_class=ErrorList, label_suffix=':',
                                  empty_permitted=False, instance=None):
        """Get initialised edit form.

        Used in ``dash.views.edit_dashboard_entry`` view.
        """
        plugin_form = self.get_form()
        if plugin_form:
            kwargs = {
                'data': data,
                'files': files,
                'auto_id': auto_id,
                'prefix': prefix,
                'initial': initial,
                'error_class': error_class,
                'label_suffix': label_suffix,
                'empty_permitted': empty_permitted
            }
            if issubclass(plugin_form, ModelForm):
                kwargs.update({'instance': instance})
            return plugin_form(**kwargs)
def get_initialised_edit_form ( self , data = None , files = None , auto_id = 'id_%s' , prefix = None , initial = None , error_class = ErrorList , label_suffix = ':' , empty_permitted = False , instance = None ) : plugin_form = self . get_form ( ) if plugin_form : kwargs = { 'data' : data , 'files' : files , 'auto_id' : auto_id , 'prefix' : prefix , 'initial' : initial , 'error_class' : error_class , 'label_suffix' : label_suffix , 'empty_permitted' : empty_permitted } if issubclass ( plugin_form , ModelForm ) : kwargs . update ( { 'instance' : instance } ) return plugin_form ( * * kwargs )