Skip to content

Commit

Permalink
Fix typo affecting the rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil authored Jan 10, 2025
1 parent c236738 commit b238a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/file-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b238a37

Please sign in to comment.