The EmbeddableFieldsDocumentConverter currently depends on a content_type field being present on the provided base_model.
This works fine for Wagtail Pages but for other Django models, this will fail with a FieldError if a content_type field is not defined.
This converter should ideally work for any Django model out-of-the-box. Figure out a more appropriate way to filter by content type (if it is required) here.
The
EmbeddableFieldsDocumentConverter
currently depends on acontent_type
field being present on the providedbase_model
.This works fine for Wagtail Pages but for other Django models, this will fail with a
FieldError
if acontent_type
field is not defined.This converter should ideally work for any Django model out-of-the-box. Figure out a more appropriate way to filter by content type (if it is required) here.