Be stricter on cathed exceptions when importing local_settings.py
This commit is contained in:
parent
c6be196ab8
commit
d43175e9b9
|
@ -227,7 +227,7 @@ FILE_UPLOAD_HANDLERS = ("django.core.files.uploadhandler.TemporaryFileUploadHand
|
|||
|
||||
try:
|
||||
from local_settings import *
|
||||
except:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
# use South, unless if database is sqlite3
|
||||
|
|
Reference in New Issue