mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
b8a9a2d319
The Menu class was not originally designed to accept menu items at constructor time (instead requiring them to be passed via hooks); ModelAdmin's SubMenu class patched this functionality in, and the documentation for extending admin views piggybacked on this. Add this functionality to the base Menu class so that we don't have this unnecessary dependency on ModelAdmin. |
||
---|---|---|
.. | ||
adding_reports.md | ||
admin_views.md | ||
audit_log.md | ||
custom_account_settings.md | ||
custom_bulk_actions.md | ||
custom_tasks.md | ||
customising_group_views.md | ||
extending_draftail.md | ||
forms.md | ||
generic_views.md | ||
index.md | ||
rich_text_internals.md | ||
template_components.md |