Exceptions

exception markdownx.exceptions.MarkdownxImageUploadError(message, code=None, params=None)[source]
static invalid_size(current, expected)[source]

The file is larger in size that the maximum allow in settings.py (or the default).

Parameters:
  • current
  • expected
Returns:

Return type:

static not_uploaded()[source]

No file is available to upload.

Returns:
Return type:
static unsupported_format()[source]

The file is of a format not defined in settings.py or if default, in markdownx/settings.py.

Returns:
Return type: