From de09d721181bbc26edc4cf02e15a252c17a10922 Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 28 Sep 2014 12:29:18 +0000 Subject: [PATCH] Added phpList --- orchestra/apps/saas/services/phplist.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 orchestra/apps/saas/services/phplist.py diff --git a/orchestra/apps/saas/services/phplist.py b/orchestra/apps/saas/services/phplist.py new file mode 100644 index 00000000..b1dddc26 --- /dev/null +++ b/orchestra/apps/saas/services/phplist.py @@ -0,0 +1,16 @@ +from django import forms +from django.utils.translation import ugettext_lazy as _ + +from orchestra.forms import PluginDataForm + +from .options import SoftwareService + + +class PHPListForm(PluginDataForm): + email = forms.EmailField(label=_("Email")) + + +class PHPListService(SoftwareService): + verbose_name = "phpList" + form = PHPListForm + description_field = 'email'