9
9
TEMPLATE_DEBUG = DEBUG
11
11
# Required for Django 1.5.
12
@@ -95,24 +95,40 @@ LOCAL_PATH = os.path.dirname(os.path.abs
12
@@ -95,25 +95,24 @@ LOCAL_PATH = os.path.dirname(os.path.abs
13
13
# requests routed to the same dashboard instance or you set the same SECRET_KEY
15
15
from horizon.utils import secret_key
41
41
- 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'
44
+# Enable the Ubuntu theme if it is present.
46
+ from ubuntu_theme import *
50
+# Default Ubuntu apache configuration uses /horizon as the application root.
51
+# Configure auth redirects here accordingly.
52
+LOGIN_URL='/horizon/auth/login/'
53
+LOGOUT_URL='/horizon/auth/logout/'
54
+LOGIN_REDIRECT_URL='/horizon'
56
+# By default, validation of the HTTP Host header is disabled. Production
57
+# installations should have this set accordingly. For more information
58
+# see https://docs.djangoproject.com/en/dev/ref/settings/.
61
45
# Send email to the console by default
62
46
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
63
@@ -529,3 +545,24 @@ SECURITY_GROUP_RULES = {
64
# to set this to True if you were running Nova Networking with
65
# auto_assign_floating_ip = True.
66
# SAHARA_AUTO_IP_ALLOCATION_ENABLED = False
47
# Or send them to /dev/null
48
@@ -536,3 +535,23 @@ SECURITY_GROUP_RULES = {
49
# algorithms supported by Python's hashlib library.
50
# OPENSTACK_TOKEN_HASH_ALGORITHM = 'md5'
68
52
+###############################################################################
70
54
+###############################################################################
87
71
+ALLOWED_HOSTS = '*'
88
72
--- a/openstack_dashboard/settings.py
89
73
+++ b/openstack_dashboard/settings.py
90
@@ -339,8 +339,7 @@ if not SECRET_KEY:
74
@@ -337,8 +337,7 @@ if not SECRET_KEY:
93
77
from horizon.utils import secret_key