我有一个模型Product
如下:
class Product(models.Model):
description = QuillField(null=True, blank=True)
在Django视图中,我如何在其中保存html数据?
product = Product.objects.get(id=...)
product.description = '<p> this is a test </p>'
product.save()
但我得到了一个错误:can't parse value