Pass exception that is making Heroku fail
This commit is contained in:
parent
b86f0d1281
commit
499140dd8f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user