django-orchestra-test/orchestra/apps/saas/services/moodle.py
Marc Aymerich 1ff4e05819 flake8
2015-04-04 18:10:39 +00:00

16 lines
399 B
Python

from django import forms
from django.utils.translation import ugettext_lazy as _
from .options import SoftwareService, SoftwareServiceForm
class MoodleForm(SoftwareServiceForm):
email = forms.EmailField(label=_("Email"))
class MoodleService(SoftwareService):
verbose_name = "Moodle"
form = MoodleForm
description_field = 'site_name'
icon = 'orchestra/icons/apps/Moodle.png'