cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.clm.settings Namespace Reference

Django settings for cc1 project. More...

Variables

list ALLOWED_HOSTS = ['*']
 DEBUG = False
tuple INSTALLED_APPS
string LANGUAGE_CODE = 'en-us'
dictionary LOGGING
string MEDIA_ROOT = ''
string MEDIA_URL = ''
tuple MIDDLEWARE_CLASSES
tuple PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
string ROOT_URLCONF = 'clm.urls'
int SITE_ID = 1
string STATIC_ROOT = ''
string STATIC_URL = '/static/'
tuple STATICFILES_DIRS
tuple STATICFILES_FINDERS
 TEMPLATE_DEBUG = DEBUG
tuple TEMPLATE_DIRS
tuple TEMPLATE_LOADERS
string TIME_ZONE = 'Europe/Warsaw'
 USE_I18N = True
 USE_L10N = True
 USE_TZ = False
string WSGI_APPLICATION = 'clm.wsgi.application'

Detailed Description

Django settings for cc1 project.

Beware that actual configuration is stored in config.py file. This file should not be modified unless one really knows what he does.

Variable Documentation

list src.clm.settings.ALLOWED_HOSTS = ['*']

Definition at line 39 of file settings.py.

src.clm.settings.DEBUG = False

Definition at line 35 of file settings.py.

tuple src.clm.settings.INSTALLED_APPS
Initial value:
1 (
2  'clm',
3  'south'
4 )

Definition at line 130 of file settings.py.

string src.clm.settings.LANGUAGE_CODE = 'en-us'

Definition at line 49 of file settings.py.

dictionary src.clm.settings.LOGGING

Definition at line 141 of file settings.py.

string src.clm.settings.MEDIA_ROOT = ''

Definition at line 67 of file settings.py.

string src.clm.settings.MEDIA_URL = ''

Definition at line 72 of file settings.py.

tuple src.clm.settings.MIDDLEWARE_CLASSES
Initial value:
1 (
2  'django.middleware.common.CommonMiddleware',
3  # 'django.contrib.sessions.middleware.SessionMiddleware',
4  # CSRF check set off
5  # 'django.middleware.csrf.CsrfViewMiddleware',
6  # 'django.contrib.auth.middleware.AuthenticationMiddleware',
7  # 'django.contrib.messages.middleware.MessageMiddleware',
8  # Uncomment the next line for simple clickjacking protection:
9  # 'django.middleware.clickjacking.XFrameOptionsMiddleware',
10 )

Definition at line 106 of file settings.py.

tuple src.clm.settings.PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))

Definition at line 37 of file settings.py.

string src.clm.settings.ROOT_URLCONF = 'clm.urls'

Definition at line 117 of file settings.py.

int src.clm.settings.SITE_ID = 1

Definition at line 51 of file settings.py.

string src.clm.settings.STATIC_ROOT = ''

Definition at line 78 of file settings.py.

string src.clm.settings.STATIC_URL = '/static/'

Definition at line 82 of file settings.py.

tuple src.clm.settings.STATICFILES_DIRS
Initial value:
1 (
2  # Put strings here, like "/home/html/static" or "C:/www/django/static".
3  # Always use forward slashes, even on Windows.
4  # Don't forget to use absolute paths, not relative paths.
5 )

Definition at line 85 of file settings.py.

tuple src.clm.settings.STATICFILES_FINDERS
Initial value:
1 (
2  'django.contrib.staticfiles.finders.FileSystemFinder',
3  'django.contrib.staticfiles.finders.AppDirectoriesFinder',
4 # 'django.contrib.staticfiles.finders.DefaultStorageFinder',
5 )

Definition at line 93 of file settings.py.

src.clm.settings.TEMPLATE_DEBUG = DEBUG

Definition at line 36 of file settings.py.

tuple src.clm.settings.TEMPLATE_DIRS
Initial value:
1 (
2  # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
3  # Always use forward slashes, even on Windows.
4  # Don't forget to use absolute paths, not relative paths.
5  '/etc/cc1/clm/templates/',
6  os.path.join(PROJECT_DIR, 'templates')
7 )

Definition at line 122 of file settings.py.

tuple src.clm.settings.TEMPLATE_LOADERS
Initial value:
1 (
2  'django.template.loaders.filesystem.Loader',
3  'django.template.loaders.app_directories.Loader',
4 # 'django.template.loaders.eggs.Loader',
5 )

Definition at line 100 of file settings.py.

string src.clm.settings.TIME_ZONE = 'Europe/Warsaw'

Definition at line 45 of file settings.py.

src.clm.settings.USE_I18N = True

Definition at line 55 of file settings.py.

src.clm.settings.USE_L10N = True

Definition at line 59 of file settings.py.

src.clm.settings.USE_TZ = False

Definition at line 63 of file settings.py.

string src.clm.settings.WSGI_APPLICATION = 'clm.wsgi.application'

Definition at line 120 of file settings.py.