Pass exception that is making Heroku fail

This commit is contained in:
Tyler Hallada 2014-07-28 19:14:16 -04:00
parent b86f0d1281
commit 499140dd8f

View File

@ -1,6 +1,10 @@
# Django settings for laundry project. # Django settings for laundry project.
import os import os
try:
import secrets 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 DEBUG = True
TEMPLATE_DEBUG = DEBUG TEMPLATE_DEBUG = DEBUG