mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
3348cd5c89
- Remove imports at the top of options.py and views.py that result in ImportError when those apps aren’t installed - Alter ThumbnailMixin and InspectView to use the `wagtail.wagtailimages.shortcuts.get_rendition_or_not_found()` method to render images, which handles missing image source files gracefully, and reduces code duplication. - Simplify `get_field_display_value()` by not limiting image and document rendering to ForeignKey fields. It should work consistently for property methods or other attributes too. |
||
---|---|---|
.. | ||
chooseparentview.rst | ||
create_edit_delete_views.rst | ||
index.rst | ||
indexview.rst | ||
inspectview.rst | ||
menu_item.rst | ||
primer.rst |