3
from django.utils.translation import ugettext_lazy as _
10
# Note: You should change this value
11
SECRET_KEY = 'elj1IWiLoWHgcyYxFVLj7cM5rGOOxWl0'
13
# Specify a regular expression to validate user passwords.
15
# "password_validator": {
17
# "help_text": _("Your password does not meet the requirements.")
21
LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
23
# We recommend you use memcached for development; otherwise after every reload
24
# of the django development server, you will have to login again. To use
25
# memcached set CACHE_BACKED to something like 'memcached://127.0.0.1:11211/'
26
CACHE_BACKEND = 'locmem://'
28
# Send email to the console by default
29
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
30
# Or send them to /dev/null
31
#EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
33
# Configure these for your outgoing email host
34
# EMAIL_HOST = 'smtp.my-company.com'
36
# EMAIL_HOST_USER = 'djangomail'
37
# EMAIL_HOST_PASSWORD = 'top-secret!'
39
# For multiple regions uncomment this configuration, and add (endpoint, title).
40
# AVAILABLE_REGIONS = [
41
# ('http://cluster1.example.com:5000/v2.0', 'cluster1'),
42
# ('http://cluster2.example.com:5000/v2.0', 'cluster2'),
45
OPENSTACK_HOST = "127.0.0.1"
46
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
47
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
49
# The OPENSTACK_KEYSTONE_BACKEND settings can be used to identify the
50
# capabilities of the auth backend for Keystone.
51
# If Keystone has been configured to use LDAP as the auth backend then set
52
# can_edit_user to False and name to 'ldap'.
54
# TODO(tres): Remove these once Keystone has an API to identify auth backend.
55
OPENSTACK_KEYSTONE_BACKEND = {
60
# OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints
61
# in the Keystone service catalog. Use this setting when Horizon is running
62
# external to the OpenStack environment. The default is 'internalURL'.
63
#OPENSTACK_ENDPOINT_TYPE = "publicURL"
65
# The number of Swift containers and objects to display on a single page before
66
# providing a paging element (a "more" link) to paginate results.
67
API_RESULT_LIMIT = 1000
69
# If you have external monitoring links, eg:
70
# EXTERNAL_MONITORING = [
71
# ['Nagios','http://foo.com'],
72
# ['Ganglia','http://bar.com'],
77
# When set to True this will disable all logging except
78
# for loggers specified in this configuration dictionary. Note that
79
# if nothing is specified here and disable_existing_loggers is True,
80
# django.db.backends will still log unless it is disabled explicitly.
81
'disable_existing_loggers': False,
85
'class': 'django.utils.log.NullHandler',
88
# Set the level to "DEBUG" for verbose output logging.
90
'class': 'logging.StreamHandler',
94
# Logging from django.db.backends is VERY verbose, send to null
96
'django.db.backends': {
101
'handlers': ['console'],
105
'handlers': ['console'],
109
'handlers': ['console'],
112
'nose.plugins.manager': {
113
'handlers': ['console'],