(self, request=None)
Saving the plugin data and moving the file.
Saving the plugin data and moving the file.
Saving the plugin data and moving the file .
def save_plugin_data(self, request=None):
        """Saving the plugin data and moving the file."""
        image = self.cleaned_data.get('image', None)
        if image:
            saved_image = handle_uploaded_file(image)
            self.cleaned_data['image'] = saved_image
def save_plugin_data ( self , request = None ) : image = self . cleaned_data . get ( 'image' , None ) if image : saved_image = handle_uploaded_file ( image ) self . cleaned_data [ 'image' ] = saved_image