18423 review changes

This commit is contained in:
Arthur 2025-03-06 11:32:57 -08:00
parent 547ecf58fd
commit 0f4d0fbbb8

View File

@ -81,7 +81,7 @@ class ScriptFileForm(ManagedFileForm):
self.instance.file_path = full_path self.instance.file_path = full_path
data = self.cleaned_data['upload_file'] data = self.cleaned_data['upload_file']
storage.save(full_path, data) storage.save(filename, data)
# need to skip ManagedFileForm save method # need to skip ManagedFileForm save method
return super(ManagedFileForm, self).save(*args, **kwargs) return super(ManagedFileForm, self).save(*args, **kwargs)