[core] Add cluster prefix to email subject prefix
@@ -327,7 +327,7 @@ ALLOWED_HOSTS = desktop.conf.ALLOWED_HOSTS.get()
X_FRAME_OPTIONS = desktop.conf.X_FRAME_OPTIONS.get()
-# Configure hue admins
+# Configure admins
ADMINS = []
for admin in desktop.conf.DJANGO_ADMINS.get():
admin_conf = desktop.conf.DJANGO_ADMINS[admin]
@@ -336,11 +336,10 @@ for admin in desktop.conf.DJANGO_ADMINS.get():
ADMINS = tuple(ADMINS)
MANAGERS = ADMINS
-# Server Email Address
SERVER_EMAIL = desktop.conf.DJANGO_SERVER_EMAIL.get()
-
-# Email backend
EMAIL_BACKEND = desktop.conf.DJANGO_EMAIL_BACKEND.get()
+EMAIL_SUBJECT_PREFIX = 'Hue %s - ' % desktop.conf.CLUSTER_ID.get()
+
# Configure database
if os.getenv('DESKTOP_DB_CONFIG'):
