mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-22 22:05:50 +00:00
Add warning about unregistering image formats.
Add warning to documentation to warn that unregistering image formats that are being used will create an error when viewing or editing pages. See https://groups.google.com/forum/#!topic/wagtail/X8xTUs-2npA and https://github.com/wagtail/wagtail/issues/1471#issuecomment-118436706.
This commit is contained in:
parent
7ad79c9a4a
commit
1247565d3d
1 changed files with 3 additions and 0 deletions
|
|
@ -143,6 +143,9 @@ To begin, import the ``Format`` class, ``register_image_format`` function, and o
|
|||
|
||||
To unregister, call ``unregister_image_format`` with the string of the ``name`` of the ``Format`` as the only argument.
|
||||
|
||||
.. warning::
|
||||
Unregistering ``Format`` objects will cause errors viewing or editing pages that reference them.
|
||||
|
||||
.. _custom_edit_handler_forms:
|
||||
|
||||
Customising generated forms
|
||||
|
|
|
|||
Loading…
Reference in a new issue