Utils (feincms3.utils)


The utils module is meant purely for feincms3’s internal use. Utilities may be added and removed without prior warning and without a deprecation period.

If you depend on some functionality from this module copy the code into your project (according to the very permissive license of course).

feincms3.utils.validation_error(error, *, field, exclude, **kwargs)[source]

Return a validation error that is associated with a particular field if it isn’t excluded from validation.

See https://github.com/django/django/commit/e8c056c31 for some background.