django-orchestra-test/orchestra/contrib/contacts/settings.py

27 lines
567 B
Python
Raw Normal View History

2014-05-08 16:59:35 +00:00
from django.conf import settings
2014-10-30 16:34:02 +00:00
from django_countries import data
2014-05-08 16:59:35 +00:00
2015-04-26 13:53:00 +00:00
from orchestra.settings import Setting
2014-05-08 16:59:35 +00:00
2015-04-26 13:53:00 +00:00
CONTACTS_DEFAULT_EMAIL_USAGES = Setting('CONTACTS_DEFAULT_EMAIL_USAGES', (
'SUPPORT',
'ADMIN',
'BILLING',
'TECH',
'ADDS',
'EMERGENCY'
))
2014-05-08 16:59:35 +00:00
2015-04-26 13:53:00 +00:00
CONTACTS_DEFAULT_CITY = Setting('CONTACTS_DEFAULT_CITY',
2015-04-08 14:41:09 +00:00
'Barcelona'
)
2014-05-08 16:59:35 +00:00
2015-04-26 13:53:00 +00:00
CONTACTS_COUNTRIES = Setting('CONTACTS_COUNTRIES', tuple((k,v) for k,v in data.COUNTRIES.items()),
editable=False)
2014-05-08 16:59:35 +00:00
2015-04-26 13:53:00 +00:00
CONTACTS_DEFAULT_COUNTRY = Setting('CONTACTS_DEFAULT_COUNTRY', 'ES', choices=CONTACTS_COUNTRIES)