diff --git a/docs/advanced_topics/images/custom_image_model.rst b/docs/advanced_topics/images/custom_image_model.rst index c6a22216b..8fcbc4ef9 100644 --- a/docs/advanced_topics/images/custom_image_model.rst +++ b/docs/advanced_topics/images/custom_image_model.rst @@ -89,6 +89,8 @@ Then set the ``WAGTAILIMAGES_IMAGE_MODEL`` setting to point to it: Any templates that reference the builtin image model will still continue to work as before but would need to be updated in order to see any new images. +.. _custom_image_model_referring_to_image_model: + Referring to the image model ============================ diff --git a/docs/releases/1.8.rst b/docs/releases/1.8.rst index a8b3b2fb2..eb0d4033a 100644 --- a/docs/releases/1.8.rst +++ b/docs/releases/1.8.rst @@ -23,3 +23,8 @@ Bug fixes Upgrade considerations ====================== + +``wagtail.wagtailimages.models.get_image_model`` has moved +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The ``get_image_model`` function should now be imported from ``wagtail.wagtailimages`` rather than ``wagtail.wagtailimages.models``. See :ref:`custom_image_model_referring_to_image_model`. \ No newline at end of file