mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-23 01:10:25 +00:00
- 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 | ||