You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
First, thanks for this project, it’s really a must-have that should be in wagtail.contrib.modeladmin!
It would be perfect if we could have the edit button like other *ChooserPanels.
I know this is more tricky since there’s no view for editing this kind of model. But it could be specified either using a get_edit_url model method or with a function passed to the ChooserPanel, like lambda instance: '[app]_[model]_modeladmin_edit', instance.pk. By default, we could try to use the default ModelAdmin url I specified in the lambda, and if doesn’t work, hide the button.
First, thanks for this project, it’s really a must-have that should be in
wagtail.contrib.modeladmin!It would be perfect if we could have the edit button like other
*ChooserPanels.I know this is more tricky since there’s no view for editing this kind of model. But it could be specified either using a
get_edit_urlmodel method or with a function passed to theChooserPanel, likelambda instance: '[app]_[model]_modeladmin_edit', instance.pk. By default, we could try to use the default ModelAdmin url I specified in thelambda, and if doesn’t work, hide the button.