Add a test button to the plugin

13 views
Skip to first unread message

Eduard Carreras i Nadal

unread,
May 25, 2013, 11:49:18 AM5/25/13
to gets...@googlegroups.com
Hi,
I've been trying to implement the "test button" into the sentry-irc plugin[1], basically I've done a branch with the templates for the plugin configuration page, but I'm stucked.

I've added a new submit button with a value to test payload, but seems when the form is submited, it goes to sentry.web.frontend.projects.configure_project_plugin[2] and I don't know how to hook that. The idea was simple if is submited via test button, send a test message with the configuration of the plugin.

I'm sure that It should be a easy way to do this, but I'm not a django developer

Thank you in advance,

Eduard Carreras i Nadal

unread,
May 25, 2013, 2:30:45 PM5/25/13
to gets...@googlegroups.com
Maybe something like get_view_response (I think is only for actions plugins) but for hooking configuration form?
Reply all
Reply to author
Forward
0 new messages