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
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.
The text was updated successfully, but these errors were encountered:
Thank you for your kind comment about this module.
I haven't made much noise about this because all this panel stuff seems to be replaced by react components in a foreseeable future, and I hope this will be way more flexible.
You can follow discussions about that here and here.
I do not have time to look at your request right now, but will look asap. Feel free to submit a PR to speed-up the process.
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
*ChooserPanel
s.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 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.The text was updated successfully, but these errors were encountered: