Package expedient :: Package clearinghouse :: Package defaultsettings :: Module django
[hide private]
[frames] | no frames]

Module django

source code

General Django settings.


Author: jnaous

Variables [hide private]
  SRC_DIR = '/home/jnaous/csl/projects/e-geni/doc-expedient/src'
Base location of non-python source files.
  location = '/home/jnaous/csl/projects/e-geni/doc-expedient/src...
  STATIC_DOC_ROOT = '/home/jnaous/csl/projects/e-geni/doc-expedi...
Location of static content.
  TIME_ZONE = 'America/Los_Angeles'
Local time zone for this installation.
  LANGUAGE_CODE = 'en-us'
Language code for this installation.
  USE_I18N = False
If you set this to False, Django will make some optimizations so as not to load the internationalization machinery.
  MEDIA_ROOT = '/home/jnaous/csl/projects/e-geni/doc-expedient/s...
Absolute path to the directory that holds media.
  MEDIA_URL = '/static/media'
  ADMIN_MEDIA_PREFIX = '/admin/media/'
  SECRET_KEY = '6=egu-&rx7a+h%yjlt=lny=s+uz0$a_p8je=3q!+-^4w^zxkb8'
Make this unique, and don't share it with anybody.
  TEMPLATE_LOADERS = ['django.template.loaders.filesystem.load_t...
  MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddlewa...
  AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.Model...
  ROOT_URLCONF = 'expedient.clearinghouse.urls'
  TEMPLATE_DIRS = ['/home/jnaous/csl/projects/e-geni/doc-expedie...
  INSTALLED_APPS = ['expedient.clearinghouse.firstapp', 'django....
  LOGIN_REDIRECT_URL = '/'
  AUTH_PROFILE_MODULE = 'users.UserProfile'
  ACCOUNT_ACTIVATION_DAYS = 3
Number of days account activation links are valid.
  AGGREGATE_LOGOS_DIR = 'aggregate_logos/'
Directory relative to MEDIA_ROOT where all aggregate logos are uploaded.
  TEMPLATE_CONTEXT_PROCESSORS = ['django.contrib.auth.context_pr...
  DEBUG = True
Enable/Disable debugging mode.
  TEMPLATE_DEBUG = True
See Django documentation.
  DEBUG_PROPAGATE_EXCEPTIONS = True
See Django documentation.
  SESSION_COOKIE_NAME = 'ch_sessionid'
Session cookie names to avoid cookie name conflicts.
  __package__ = 'expedient.clearinghouse.defaultsettings'
Variables Details [hide private]

location

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/static/expedient/c\
learinghouse'

STATIC_DOC_ROOT

Location of static content.

Example: /srv/www/expedient/

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/static/expedient/c\
learinghouse'

TIME_ZONE

Local time zone for this installation.

Choices can be found here: http://en.wikipedia.org/wiki/List_of_tz_zones_by_name although not all choices may be available on all operating systems. If running in a Windows environment this must be set to the same as your system time zone.

Value:
'America/Los_Angeles'

LANGUAGE_CODE

Language code for this installation. All choices can be found here: http://www.i18nguy.com/unicode/language-identifiers.html

Value:
'en-us'

MEDIA_ROOT

Absolute path to the directory that holds media. Example: "/home/media/media.lawrence.com/"

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/static/expedient/c\
learinghouse/media'

SECRET_KEY

Make this unique, and don't share it with anybody.

This needs to be overridden.

Value:
'6=egu-&rx7a+h%yjlt=lny=s+uz0$a_p8je=3q!+-^4w^zxkb8'

TEMPLATE_LOADERS

Value:
['django.template.loaders.filesystem.load_template_source',
 'django.template.loaders.app_directories.load_template_source']

MIDDLEWARE_CLASSES

Value:
['django.middleware.common.CommonMiddleware',
 'django.middleware.transaction.TransactionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.RemoteUserMiddleware',
 'expedient.common.middleware.basicauth.HTTPBasicAuthMiddleware',
 'expedient.common.middleware.sitelockdown.SiteLockDown',
...

AUTHENTICATION_BACKENDS

Value:
['django.contrib.auth.backends.ModelBackend',
 'expedient_geni.backends.GENIRemoteUserBackend']

TEMPLATE_DIRS

Value:
['/home/jnaous/csl/projects/e-geni/doc-expedient/src/templates',
 '/home/jnaous/csl/projects/e-geni/doc-expedient/src/templates/expedie\
nt/clearinghouse',
 '/home/jnaous/csl/projects/e-geni/doc-expedient/src/templates/expedie\
nt/common']

INSTALLED_APPS

Value:
['expedient.clearinghouse.firstapp',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'django_extensions',
 'autoslug',
...

TEMPLATE_CONTEXT_PROCESSORS

Value:
['django.contrib.auth.context_processors.auth',
 'django.core.context_processors.debug',
 'django.core.context_processors.i18n',
 'django.core.context_processors.media',
 'django.core.context_processors.request',
 'expedient.common.messaging.context_processors.messaging']

DEBUG

Enable/Disable debugging mode. See Django docs on this setting.

Value:
True