diff --git a/docs/file-handling.md b/docs/file-handling.md index d6bd6a2b..a2995c77 100644 --- a/docs/file-handling.md +++ b/docs/file-handling.md @@ -63,7 +63,7 @@ Setting a file field to None, implicitly deletes the file after saving. For higher control, the methods of the FieldFile can be used. -!!! Tip: +!!! Tip You may want to set null=True to allow the deletion of the file and having a consistent state afterward. However you can circumvent the logic by using `delete` with `instant=True` which disables the transactional file handling and just deletes the file and set the name when `null=True` to None.