mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-17 03:31:11 +00:00
Fix syntax error in ImageRenditionField example
This commit is contained in:
parent
501273f3d8
commit
345b527ca2
2 changed files with 2 additions and 1 deletions
|
|
@ -261,6 +261,7 @@ Contributors
|
|||
* Ross Crawford-d'Heureuse
|
||||
* rifuso
|
||||
* Jon Carmack
|
||||
* Martin Sandström
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
...
|
||||
|
|
|
|||
Loading…
Reference in a new issue