|
|
|
@ -3,6 +3,7 @@ |
|
|
|
import os |
|
|
|
import os |
|
|
|
import django |
|
|
|
import django |
|
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
|
from django.utils.translation import ugettext_lazy as _ |
|
|
|
|
|
|
|
from ConfigParser import ConfigParser |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DJANGO_ROOT = os.path.dirname(os.path.realpath(django.__file__)) |
|
|
|
DJANGO_ROOT = os.path.dirname(os.path.realpath(django.__file__)) |
|
|
|
@ -506,6 +507,14 @@ CACHE_RANGE = [60, 120] |
|
|
|
|
|
|
|
|
|
|
|
DEFAULT_POPUP_COOKIE = 'expo_b_default_popup' |
|
|
|
DEFAULT_POPUP_COOKIE = 'expo_b_default_popup' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INI_CONFIG_PATH = os.path.join(SITE_ROOT, 'proj/config.ini') |
|
|
|
|
|
|
|
INI_CONFIG = ConfigParser() |
|
|
|
|
|
|
|
INI_CONFIG.read(INI_CONFIG_PATH) |
|
|
|
|
|
|
|
C_CITY_CATALOG_KEY = 'conf_city_catalog' |
|
|
|
|
|
|
|
C_COUNTRY_CATALOG_KEY = 'conf_country_catalog' |
|
|
|
|
|
|
|
E_CITY_CATALOG_KEY = 'expo_city_catalog' |
|
|
|
|
|
|
|
E_COUNTRY_CATALOG_KEY = 'expo_country_catalog' |
|
|
|
|
|
|
|
|
|
|
|
try: |
|
|
|
try: |
|
|
|
from local import * |
|
|
|
from local import * |
|
|
|
except ImportError, e: |
|
|
|
except ImportError, e: |
|
|
|
|