Skip to content

Settings Reference

General Settings

WAGTAILCONTENTIMPORT_DEFAULT_MAPPER:

The Mapper class used by default for Page models with ContentImportMixin, unless mapper_class is overridden. Defaults to StreamFieldMapper.

WAGTAILCONTENTIMPORT_GOOGLE_PARSER:

The DocumentParser class used for Google Docs. Defaults to GoogleDocumentParser.

WAGTAILCONTENTIMPORT_DOCX_PARSER:

The DocumentParser class used for .docx files. Defaults to DocxParser.

WAGTAILCONTENTIMPORT_CHECK_DUPLICATE_IMAGE_CONTENT:

Whether Wagtail Content Import should check the file content as well as the hash when determining duplicate images. Defaults to False.

Whether Wagtail Content Import should automatically convert links that exactly match a page url to internal page links. Defaults to True.

Google Picker Settings

WAGTAILCONTENTIMPORT_GOOGLE_OAUTH_CLIENT_CONFIG (Required):

The app's Google client secret. (See: Google Docs Setup)

WAGTAILCONTENTIMPORT_GOOGLE_PICKER_API_KEY (Required):

The app's Google Picker API key, allowing selection of Google Docs. (See: Google Docs Setup)

Microsoft Picker Settings

WAGTAILCONTENTIMPORT_MICROSOFT_CLIENT_ID (Required):

The app's Microsoft Azure client ID. (See: Microsoft Setup)