0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/docs/reference/contrib/modeladmin
Andy Babic 3348cd5c89 Reduce modeladmin’s dependency on wagtail.wagtailimages and wagtail.wagtaildocs
- 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.
2017-03-03 15:33:17 +00:00
..
chooseparentview.rst Fix whitespace errors in docs 2016-11-28 13:41:35 +00:00
create_edit_delete_views.rst Add exclude_fields to ModelAdmin and ModelFormView, tests and doc 2017-02-22 11:41:44 +00:00
index.rst `Added support for 'exclude_from_explorer' attribute on ModelAdmin class 2016-11-23 16:51:08 +00:00
indexview.rst Fix whitespace errors in docs 2016-11-28 13:41:35 +00:00
inspectview.rst Reduce modeladmin’s dependency on wagtail.wagtailimages and wagtail.wagtaildocs 2017-03-03 15:33:17 +00:00
menu_item.rst Fix whitespace errors in docs 2016-11-28 13:41:35 +00:00
primer.rst Fix whitespace errors in docs 2016-11-28 13:41:35 +00:00