django-orchestra-test/orchestra/apps/saas/services/phplist.py

18 lines
421 B
Python
Raw Normal View History

2014-09-28 12:29:18 +00:00
from django import forms
from django.utils.translation import ugettext_lazy as _
2014-11-12 16:33:40 +00:00
from orchestra.apps.plugins.forms import PluginDataForm
2014-09-28 12:29:18 +00:00
from .options import SoftwareService
class PHPListForm(PluginDataForm):
email = forms.EmailField(label=_("Email"))
class PHPListService(SoftwareService):
verbose_name = "phpList"
form = PHPListForm
description_field = 'email'
2014-10-11 12:43:08 +00:00
icon = 'saas/icons/Phplist.png'