Mark content field as 'safe'
This commit is contained in:
parent
d77be246ae
commit
c7d11dc939
|
|
@ -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."""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue