コード例 #1
0
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    # Uncomment the next line to enable the admin:
    # 'django.contrib.admin',
    # Uncomment the next line to enable admin documentation:
    # 'django.contrib.admindocs',
    'queue',
    'south',
)

LOGIN_URL = '/xqueue/login/'

LOGGING = get_logger_config(log_dir=ENV_ROOT / "log",
                            logging_env="dev",
                            dev_env=True,
                            debug=True)

LOCAL_STORAGE = 'local'
AWS_STORAGE = 'aws'

LOCAL_STORAGE_PATH = '/edx/app/files/'
LOCAL_STORAGE_URL = 'http://localhost:8016'

FILE_STORAGE = LOCAL_STORAGE
コード例 #2
0
ファイル: settings.py プロジェクト: EDUlib/xqueue
TEMPLATE_DIRS = (
    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
    # Always use forward slashes, even on Windows.
    # Don't forget to use absolute paths, not relative paths.
    os.path.join(ROOT_PATH, 'templates'),
)

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    # Uncomment the next line to enable the admin:
    # 'django.contrib.admin',
    # Uncomment the next line to enable admin documentation:
    # 'django.contrib.admindocs',
    'queue',
    'south',
)

LOGIN_URL = '/xqueue/login/'

LOGGING = get_logger_config(
    log_dir=ENV_ROOT / "log",
    logging_env="dev",
    dev_env=True,
    debug=True)