- import os
- from django.utils.translation import ugettext_lazy as _
- DEBUG = False
- TEMPLATE_DEBUG = DEBUG
- PROD = False
- USE_SSL = False
- ENABLE_JUJU_PANEL = True
- SECRET_KEY = '**************'
- DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.mysql',
- 'NAME': 'dash',
- 'USER': 'dash',
- 'PASSWORD': '****',
- 'HOST': '10.176.4.2',
- 'default-character-set': 'utf8'
- }
- }
- LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
- CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
- EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
- OPENSTACK_HOST = "10.176.4.2"
- OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
- OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
- OPENSTACK_KEYSTONE_BACKEND = {
- 'name': 'native',
- 'can_edit_user': True
- }
- API_RESULT_LIMIT = 1000
- LOGGING = {
- 'version': 1,
- # When set to True this will disable all logging except
- # for loggers specified in this configuration dictionary. Note that
- # if nothing is specified here and disable_existing_loggers is True,
- # django.db.backends will still log unless it is disabled explicitly.
- 'disable_existing_loggers': False,
- 'handlers': {
- 'null': {
- 'level': 'DEBUG',
- 'class': 'django.utils.log.NullHandler',
- },
- 'console': {
- # Set the level to "DEBUG" for verbose output logging.
- 'level': 'INFO',
- 'class': 'logging.StreamHandler',
- },
- },
- 'loggers': {
- # Logging from django.db.backends is VERY verbose, send to null
- # by default.
- 'django.db.backends': {
- 'handlers': ['null'],
- 'propagate': False,
- },
- 'horizon': {
- 'handlers': ['console'],
- 'propagate': False,
- },
- 'novaclient': {
- 'handlers': ['console'],
- 'propagate': False,
- },
- 'keystoneclient': {
- 'handlers': ['console'],
- 'propagate': False,
- },
- 'nose.plugins.manager': {
- 'handlers': ['console'],
- 'propagate': False,
- }
- }
- }