1
# Debug/Production mode.
4
# Default URL specifying protocol, host, and (if necessary) port where
5
# this MAAS can be found. Configuration can, and probably should,
7
DEFAULT_MAAS_URL = "http://maas.internal.example.com/"
9
# Absolute path to the directory static files should be collected to.
10
STATIC_ROOT = '/var/lib/maas/static/'
12
# Prefix to use for MAAS's urls.
13
# If FORCE_SCRIPT_NAME is None (the default), all the urls will start with
15
FORCE_SCRIPT_NAME = '/MAAS'
17
# Where to store the user uploaded files.
18
MEDIA_ROOT = '/var/lib/maas/media/'
20
# See http://docs.djangoproject.com/en/dev/topics/logging for
21
# more details on how to customize the logging configuration.
24
'disable_existing_loggers': False,
27
'format': '%(levelname)s %(asctime)s %(name)s %(message)s'
33
'class': 'logging.handlers.RotatingFileHandler',
34
'filename': '/var/log/maas/maas.log',
35
'formatter': 'simple',
47
'django.db.backends': {
54
# Database access configuration.
57
# 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' etc.
58
'ENGINE': 'django.db.backends.postgresql_psycopg2',