django-orchestra/orchestra/apps/saas/services/bscw.py
2014-09-28 12:28:57 +00:00

19 lines
499 B
Python

from django import forms
from django.utils.translation import ugettext_lazy as _
from orchestra.forms import PluginDataForm
from .options import SoftwareService
class BSCWForm(PluginDataForm):
username = forms.CharField(label=_("Username"), max_length=64)
password = forms.CharField(label=_("Password"), max_length=64)
quota = forms.IntegerField(label=_("Quota"))
class BSCWService(SoftwareService):
verbose_name = "BSCW"
form = BSCWForm
description_field = 'username'