django-orchestra/orchestra/apps/saas/services/bscw.py

15 lines
347 B
Python

from django import forms
from django.utils.translation import ugettext_lazy as _
from .options import SoftwareService, SoftwareServiceForm
class BSCWForm(SoftwareServiceForm):
quota = forms.IntegerField(label=_("Quota"))
class BSCWService(SoftwareService):
verbose_name = "BSCW"
form = BSCWForm
description_field = 'username'