开发者

Extending the admin panel in Django

开发者 https://www.devze.com 2022-12-10 14:27 出处:网络
I have several objects with some functions that I would like to be able to run via the admin panel. So far, I\'ve not found a way to add them as actions to the admin interface.

I have several objects with some functions that I would like to be able to run via the admin panel. So far, I've not found a way to add them as actions to the admin interface.

开发者_StackOverflow中文版

Is there a way to do it?


Do you intend to perform these actions on a selection of items ? If so, have you seen the django admin actions docs ? I use them to perform custom actions quite swimmingly.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号