We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
PrivateModel
PrivateFileField
TestModel
PRIVATE_STORAGE_ROOT
Expected outcome: The PrivateModel instance marked for deletion is removed and TestModel instance is updated successfully
Actual Outcome: Throws FileNotFoundError
FileNotFoundError
The text was updated successfully, but these errors were encountered:
Note that the error doesn't occur when delete() is called on the model instance itself, it only occurs when delete() is called from a ModelForm.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce:
PrivateModel
and set one field asPrivateFileField
TestModel
and referencePrivateModel
as a foreign keyTestModel
keepingPrivateModel
as inlinePRIVATE_STORAGE_ROOT
path and manually delete the file associated with newly createdTestModel
instanceExpected outcome:
The
PrivateModel
instance marked for deletion is removed andTestModel
instance is updated successfullyActual Outcome:
Throws
FileNotFoundError
The text was updated successfully, but these errors were encountered: