django-orchestra/orchestra/contrib/saas/services/moodle.py

16 lines
399 B
Python
Raw Normal View History

2014-10-10 17:17:20 +00:00
from django import forms
from django.utils.translation import ugettext_lazy as _
2015-03-27 19:50:54 +00:00
from .options import SoftwareService, SoftwareServiceForm
2014-10-10 17:17:20 +00:00
2015-03-27 19:50:54 +00:00
class MoodleForm(SoftwareServiceForm):
2014-10-10 17:17:20 +00:00
email = forms.EmailField(label=_("Email"))
class MoodleService(SoftwareService):
verbose_name = "Moodle"
form = MoodleForm
description_field = 'site_name'
2015-03-04 21:06:16 +00:00
icon = 'orchestra/icons/apps/Moodle.png'