API Reference
- class quillsafe.fields.QuillField(*args, db_collation=None, **kwargs)
Bases:
TextField- description = 'Field to store Quill Delta JSON data'
- formfield(**kwargs)
Return a django.forms.Field instance for this field.
- from_db_value(value, expression, connection)
- get_prep_value(value)
Perform preliminary non-db specific value checks and conversions.
- to_python(value)
Convert the input value into the expected Python data type, raising django.core.exceptions.ValidationError if the data can’t be converted. Return the converted value. Subclasses should override this.
- class quillsafe.fields.QuillFormField(*, max_length=None, min_length=None, strip=True, empty_value='', **kwargs)
Bases:
CharField- to_python(value)
Return a string.
- validate(value)
- widget
alias of
QuillWidget