mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-01 17:51:23 +00:00
Mark content field as 'safe'
This commit is contained in:
@@ -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