Mark content field as 'safe'

This commit is contained in:
Oliver Walters 2026-05-21 09:25:19 +00:00
parent d77be246ae
commit c7d11dc939
1 changed files with 4 additions and 0 deletions

View File

@ -2921,6 +2921,10 @@ class Note(
created: Date/time that the note was created
"""
# Ignore default sanitizing of the 'content' field
# Note: This is handled explicitly in the 'save' method
SAFE_FIELDS = ['content']
class Meta:
"""Meta options for Note model."""