Alex Ramalho
Alex Ramalho

Reputation: 416

How to add custom left-link models to wagtail admin page

I've been trying to add a left-link to the wagtail administration interface sidebar so that I can provide an easier experience to moderators. My ultimate goal is to add a collection of custom objects (already made), editable from the sidebar from wagtail's admin interface, and displaying that collection on the site's home page.

Wagtail left links example (taken from official documentation)

I'm new to python/Django and especially new in Wagtail, but I didn't find any help with this on official documentation. Is there an easy way to do this? Or you have to edit Wagtail source code? Thanks a lot in advance

Upvotes: 1

Views: 1271

Answers (1)

gasman
gasman

Reputation: 25292

Wagtail's modeladmin module allows you to set up editing interfaces for arbitrary Django models, available through the admin menu. Alternatively, for lower-level control, you can add menu items through the register_admin_menu_item hook.

Upvotes: 3

Related Questions