From 345b527ca214df3303727058b8738bbb356e3bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sandstr=C3=B6m?= Date: Sat, 11 Nov 2017 15:35:57 +0100 Subject: [PATCH] Fix syntax error in ImageRenditionField example --- CONTRIBUTORS.rst | 1 + docs/advanced_topics/api/v2/configuration.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 4f906ed14a..06b0fae764 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -261,6 +261,7 @@ Contributors * Ross Crawford-d'Heureuse * rifuso * Jon Carmack +* Martin Sandström Translators =========== diff --git a/docs/advanced_topics/api/v2/configuration.rst b/docs/advanced_topics/api/v2/configuration.rst index 7fe2647d4d..3899f41307 100644 --- a/docs/advanced_topics/api/v2/configuration.rst +++ b/docs/advanced_topics/api/v2/configuration.rst @@ -204,7 +204,7 @@ For example: .. code-block:: python - from wagtail.wagtailimages.api.fields.ImageRenditionField + from wagtail.wagtailimages.api.fields import ImageRenditionField class BlogPage(Page): ...