示例#1
0
# Django settings for smart_sa clone - masivukeni2
import os.path
import sys
from ccnmtlsettings.shared import common

project = 'smart_sa'
base = os.path.dirname(__file__)
locals().update(common(project=project, base=base))

if 'test' not in sys.argv and 'jenkins' not in sys.argv:
    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.postgresql_psycopg2',
            'NAME': 'masivukeni2',
            'HOST': '',
            'PORT': 5432,
            'USER': '',
            'PASSWORD': '',
            'ATOMIC_REQUESTS': True,
        }
    }

MEDIA_URL = '/multimedia/'

# generate these most easily by going to:
# http://www.josh-davis.org/ecmaScrypt
#  setting the Key Size to 256 and Mode of Op to OFB
# for public consumption on public site
FAKE_INTERVENTION_BACKUP_HEXKEY = (
    "f8bb022b420b66ab585065366073eed24705932289279be63ee20896c335a1aa")
FAKE_INTERVENTION_BACKUP_IV = (
示例#2
0
# if you add a 'deploy_specific' directory
# then you can put a settings.py file and templates/ overrides there
# (see bottom)

import os.path
import re
import sys
import djcelery

from ccnmtlsettings.shared import common

project = 'mediathread'
base = os.path.dirname(__file__)

locals().update(common(project=project, base=base))

PROJECT_APPS = [
    'mediathread.main',
    'mediathread.djangosherd',
    'mediathread.assetmgr',
    'mediathread.projects',
    'mediathread.reports',
    'mediathread.discussions',
    'mediathread.taxonomy',
    'structuredcollaboration',
]

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
示例#3
0
# Django settings for rolf project.
import os.path
import sys
from ccnmtlsettings.shared import common

project = 'rolf'
base = os.path.dirname(__file__)

locals().update(
    common(
        project=project,
        base=base,
    )
)

PROJECT_APPS = ['rolf.rolf_main', ]

INSTALLED_APPS += [  # noqa
    'rolf.rolf_main',
]

WIND_AFFIL_HANDLERS = ['whitelistaffilmapper.WhitelistAffilGroupMapper',
                       'djangowind.auth.StaffMapper',
                       'djangowind.auth.SuperuserMapper']
AFFILS_WHITELIST = [
    'tlcxml.cunix.local:columbia.edu',
]

CHECKOUT_DIR = "/var/tmp/rolf/checkouts/"
SCRIPT_DIR = "/var/tmp/rolf/scripts/"