Be stricter on cathed exceptions when importing local_settings.py

This commit is contained in:
Benjamin Dauvergne 2014-12-15 18:30:51 +01:00
parent c6be196ab8
commit d43175e9b9
1 changed files with 1 additions and 1 deletions

View File

@ -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