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

28 lines
521 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
CONTACTS_DEFAULT_EMAIL_USAGES = getattr(settings, 'CONTACTS_DEFAULT_EMAIL_USAGES', (
'SUPPORT',
'ADMIN',
'BILLING',
'TECH',
'ADDS',
'EMERGENCY'
))
2014-05-08 16:59:35 +00:00
CONTACTS_DEFAULT_CITY = getattr(settings, 'CONTACTS_DEFAULT_CITY',
'Barcelona'
)
2014-05-08 16:59:35 +00:00
CONTACTS_COUNTRIES = getattr(settings, 'CONTACTS_COUNTRIES', (
2015-04-02 16:14:55 +00:00
(k,v) for k,v in data.COUNTRIES.items()
))
2014-05-08 16:59:35 +00:00
CONTACTS_DEFAULT_COUNTRY = getattr(settings, 'CONTACTS_DEFAULT_COUNTRY',
'ES'
)