From cc2c02e5f1de022a8f513ef17e9261da6344c7bd Mon Sep 17 00:00:00 2001
From: millosolomillo <marcomillo@gmail.com>
Date: Sat, 17 Feb 2018 15:33:28 +0100
Subject: [PATCH] Admin is extracted from ENV

---
 settings.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/settings.py b/settings.py
index b01eb01..2cf2d8f 100644
--- a/settings.py
+++ b/settings.py
@@ -18,8 +18,7 @@ TEMPLATE_DEBUG = DEBUG
 # add admins of the form: 
 #    ('Ben Adida', 'ben@adida.net'),
 # if you want to be emailed about errors.
-ADMINS = (
-)
+ADMINS = (get_from_env('ADMIN_NAME', ''), get_from_env('ADMIN_EMAIL', ''))
 
 MANAGERS = ADMINS
 
-- 
GitLab