django-orchestra/orchestra/apps/accounts/settings.py

21 lines
553 B
Python
Raw Normal View History

2014-05-08 16:59:35 +00:00
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
ACCOUNTS_TYPES = getattr(settings, 'ACCOUNTS_TYPES', (
('INDIVIDUAL', _("Individual")),
('ASSOCIATION', _("Association")),
('COMPANY', _("Company")),
('PUBLICBODY', _("Public body")),
))
ACCOUNTS_DEFAULT_TYPE = getattr(settings, 'ACCOUNTS_DEFAULT_TYPE', 'INDIVIDUAL')
ACCOUNTS_LANGUAGES = getattr(settings, 'ACCOUNTS_LANGUAGES', (
('en', _('English')),
))
ACCOUNTS_DEFAULT_LANGUAGE = getattr(settings, 'ACCOUNTS_DEFAULT_LANGUAGE', 'en')