pull/3073/merge
Matt Westcott 2016-10-13 14:54:34 +01:00
rodzic b6fe08a634
commit 0cf3b13a1d
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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
============================

Wyświetl plik

@ -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`.