2014-10-30 16:34:02 +00:00
|
|
|
from django_countries import data
|
2014-05-08 16:59:35 +00:00
|
|
|
|
2015-05-04 19:52:53 +00:00
|
|
|
from orchestra.contrib.settings import Setting
|
2014-05-08 16:59:35 +00:00
|
|
|
|
2015-04-26 13:53:00 +00:00
|
|
|
|
2015-04-27 12:24:17 +00:00
|
|
|
CONTACTS_DEFAULT_EMAIL_USAGES = Setting('CONTACTS_DEFAULT_EMAIL_USAGES',
|
|
|
|
default=(
|
|
|
|
'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-27 12:24:17 +00:00
|
|
|
default='Barcelona'
|
2015-03-31 12:39:08 +00:00
|
|
|
)
|
2014-05-08 16:59:35 +00:00
|
|
|
|
2014-10-21 11:22:31 +00:00
|
|
|
|
2015-04-27 12:24:17 +00:00
|
|
|
CONTACTS_COUNTRIES = Setting('CONTACTS_COUNTRIES',
|
|
|
|
default=tuple((k,v) for k,v in data.COUNTRIES.items()),
|
|
|
|
serializable=False
|
|
|
|
)
|
2014-05-08 16:59:35 +00:00
|
|
|
|
2014-10-21 11:22:31 +00:00
|
|
|
|
2015-04-27 12:24:17 +00:00
|
|
|
CONTACTS_DEFAULT_COUNTRY = Setting('CONTACTS_DEFAULT_COUNTRY',
|
|
|
|
default='ES',
|
|
|
|
choices=CONTACTS_COUNTRIES
|
|
|
|
)
|