Handle lists type options in plugins configuration
authorSimo Sorce <simo@redhat.com>
Tue, 14 Oct 2014 15:57:28 +0000 (11:57 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Fri, 24 Oct 2014 16:02:20 +0000 (18:02 +0200)
commitc6fab2542f52f6cca71c207c1925785971e51295
tree83c4bb441c7eb62c41b8b58c738e070bde674045
parentcecf9f6c60a048f4f7c947a969f1610695d1d3be
Handle lists type options in plugins configuration

Autodetect and convert config values based on the options definition.
If the option is marked as list split a string on setting the configuration
or join the list into a string before saving it to the database.

Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/util/plugin.py
templates/admin/plugin_config.html