From 499140dd8ffc14690794e3801d6e4a712a564029 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Mon, 28 Jul 2014 19:14:16 -0400 Subject: [PATCH] Pass exception that is making Heroku fail --- laundry/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/laundry/settings.py b/laundry/settings.py index f2afc31..9f14498 100644 --- a/laundry/settings.py +++ b/laundry/settings.py @@ -1,6 +1,10 @@ # Django settings for laundry project. import os -import secrets +try: + import secrets +except ImportError: + print "No secrets.py add it or set DATABASES in settings.py manually." + pass # this occur only while on heroku DEBUG = True TEMPLATE_DEBUG = DEBUG