django-orchestra/orchestra/contrib/issues/settings.py

16 lines
462 B
Python
Raw Normal View History

from django.core.validators import validate_email
from orchestra.settings import Setting, ORCHESTRA_DEFAULT_SUPPORT_FROM_EMAIL
2014-05-08 16:59:35 +00:00
2015-04-27 14:54:17 +00:00
ISSUES_SUPPORT_EMAILS = Setting('ISSUES_SUPPORT_EMAILS',
(ORCHESTRA_DEFAULT_SUPPORT_FROM_EMAIL,),
validators=[lambda emails: [validate_email(e) for e in emails]],
help_text="Includes <tt>ORCHESTRA_DEFAULT_SUPPORT_FROM_EMAIL</tt> by default",
2015-04-27 14:54:17 +00:00
)
2014-05-08 16:59:35 +00:00
2015-04-27 14:54:17 +00:00
ISSUES_NOTIFY_SUPERUSERS = Setting('ISSUES_NOTIFY_SUPERUSERS',
True
)