Package madrona :: Package common :: Module default_settings
[hide private]

Module default_settings

source code

Variables [hide private]
  APP_NAME = 'Madrona'
  LANGUAGE_CODE = 'en-us'
  SITE_ID = 1
  USE_I18N = False
  GEOMETRY_DB_SRID = 3310
  GEOMETRY_CLIENT_SRID = 4326
  DISPLAY_LENGTH_UNITS = 'mi'
  DISPLAY_AREA_UNITS = 'sq_mi'
  GOOGLE_API_KEY = 'ABQIAAAAu2dobIiH7nisivwmaz2gDhT2yXp_ZAY8_ufC...
  COMPRESS_CSS = {'application': {'source_filenames': assets.get...
  COMPRESS_JS = {'application': {'source_filenames': assets.get_...
  COMPRESS_VERSION = True
  COMPRESS_AUTO = True
  GOOGLE_ANALYTICS_MODEL = True
  MIDDLEWARE_CLASSES = 'django.middleware.gzip.GZipMiddleware', ...
  INSTALLED_APPS = 'madrona.common', 'django.contrib.auth', 'dja...
  EXCLUDE_FROM_TESTS = ['south', 'registration', 'flatblocks', '...
  ACCOUNT_ACTIVATION_DAYS = 7
  REGISTRATION_OPEN = True
  GROUP_REQUEST_EMAIL = None
  GROUP_REGISTERED_BY_WEB = 'registered_by_web'
  MEDIA_ROOT = os.path.realpath(os.path.dirname(os.path.abspath(...
  MEDIA_URL = '/media/'
  LOGIN_URL = '/accounts/signin/'
  STATIC_URL = '/media/'
  KML_SIMPLIFY_TOLERANCE = 20
  KML_SIMPLIFY_TOLERANCE_DEGREES = 0.0002
  KML_EXTRUDE_HEIGHT = 100
  KML_ALTITUDEMODE_DEFAULT = 'absolute'
  SHARING_TO_PUBLIC_GROUPS = ['Share with Public']
  SHARING_TO_STAFF_GROUPS = ['Share with Staff']
  TEMPLATE_CONTEXT_PROCESSORS = "django.contrib.auth.context_pro...
  TEMPLATE_LOADERS = 'django.template.loaders.filesystem.Loader'...
  ADMINS = ()
  MANAGERS = ()
  DEBUG = True
  TEMPLATE_DEBUG = True
  SCREENCASTS = 'screencasts/'
  SCREENCAST_IMAGES = 'screencasts/images'
  VIDEO_PLAYER = MEDIA_URL+ 'screencasts/video_player/player-vir...
  USER_DATA_ROOT = '/mnt/EBS_userdatalayers/display'
  SKIP_SOUTH_TESTS = True
  SOUTH_TESTS_MIGRATE = False
  CARROT_BACKEND = "django"
  CELERY_RESULT_BACKEND = "database"
  CELERY_TRACK_STARTED = True
  BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
  ASYNC_IS_DISABLED = False
  AWS_USE_S3_MEDIA = False
  OPENID_ENABLED = False
  LOG_FILE = None
  PRIVATE_KML_ROOT = '/mnt/EBS_superoverlays/display'
  DATABASES = {'default': {'ENGINE': 'django.contrib.gis.db.back...
  WSGI_USER = None
  CACHES = {'default': {'BACKEND': 'django.core.cache.backends.l...
  HELP_EMAIL = 'help@madrona.org'
  STATICMAP_AUTOZOOM = True
  TITLES = {'self': 'View',}
  BOOKMARK_FEATURE = False
  BOOKMARK_ANON_USERNAME = "anonymous_bookmark_user"
  BOOKMARK_ANON_LIMIT = 100, timedelta(minutes= 30)
  ENFORCE_SUPPORTED_BROWSER = True
  STARSPAN_BIN = 'starspan'
  STARSPAN_REMOVE_TMP = True
  POSTGIS_TEMPLATE = 'template1'
  LAUNCH_PAGE = False
  LOGIN_REDIRECT_URL = reverse_lazy('map')
  GEOJSON_DOWNLOAD = True
  GEOJSON_SRID = None
Variables Details [hide private]

GOOGLE_API_KEY

Value:
'ABQIAAAAu2dobIiH7nisivwmaz2gDhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSLaQmJjJuOq\
03hTEjc-cNV8eegYg'

COMPRESS_CSS

Value:
{'application': {'source_filenames': assets.get_css_files(), 'output_f\
ilename': 'common/css/madrona.r?.css', 'extra_context': {'media': 'all\
'}}}

COMPRESS_JS

Value:
{'application': {'source_filenames': assets.get_js_files(), 'output_fi\
lename': 'madrona.r?.js'}, 'tests': {'source_filenames': assets.get_js\
_test_files(), 'output_filename': 'madrona_tests.r?.js'}}

MIDDLEWARE_CLASSES

Value:
'django.middleware.gzip.GZipMiddleware', 'django.middleware.common.Com\
monMiddleware', 'madrona.common.middleware.IgnoreCsrfMiddleware', 'dja\
ngo.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.midd\
leware.SessionMiddleware', 'django.contrib.messages.middleware.Message\
Middleware', 'django.contrib.auth.middleware.AuthenticationMiddleware'\
, 'django.middleware.transaction.TransactionMiddleware', 'madrona.open\
id.middleware.OpenIDMiddleware',

INSTALLED_APPS

Value:
'madrona.common', 'django.contrib.auth', 'django.contrib.admin', 'djan\
go.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.s\
ites', 'django.contrib.gis', 'flatblocks', 'compress', 'madrona.shapes\
', 'madrona.google-analytics', 'madrona.layers', 'madrona.layer_manage\
r', 'madrona.studyregion', 'madrona.simplefaq', 'madrona.help', 'madro\
na.staticmap', 'madrona.screencasts', 'madrona.news', 'madrona.manipul\
ators', 'madrona.kmlapp', 'madrona.features', 'madrona.user_profile', \
'madrona.unit_converter', 'madrona.openid', 'madrona.async', 'madrona.\
...

EXCLUDE_FROM_TESTS

Value:
['south', 'registration', 'flatblocks', 'django.contrib.auth', 'django\
.contrib.admin', 'django.contrib.contenttypes', 'django.contrib.sessio\
ns', 'django.contrib.sites', 'django.contrib.gis']

MEDIA_ROOT

Value:
os.path.realpath(os.path.dirname(os.path.abspath(__file__))+ '/../../m\
edia/')

TEMPLATE_CONTEXT_PROCESSORS

Value:
"django.contrib.auth.context_processors.auth", "django.core.context_pr\
ocessors.debug", "django.core.context_processors.i18n", "django.core.c\
ontext_processors.media", "django.contrib.messages.context_processors.\
messages", 'django.core.context_processors.request', 'madrona.openid.c\
ontext_processors.authopenid',

TEMPLATE_LOADERS

Value:
'django.template.loaders.filesystem.Loader', 'django.template.loaders.\
app_directories.Loader',

VIDEO_PLAYER

Value:
MEDIA_URL+ 'screencasts/video_player/player-viral.swf'

DATABASES

Value:
{'default': {'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME\
': 'example', 'USER': 'postgres',}}

CACHES

Value:
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache\
',}}