mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-09 10:33:05 +00:00
Mark content field as 'safe'
This commit is contained in:
1 parent
d77be246ae
commit
c7d11dc939
1 file changed
+4
@@ -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."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user