config.py: don't support local_settings.py anymore
This commit is contained in:
parent
be55d02acf
commit
c18e9f7fe4
|
@ -187,10 +187,3 @@ session_opts = {
|
|||
'session.data_dir': config.get('session', 'data_dir')
|
||||
}
|
||||
|
||||
# Import local config
|
||||
try:
|
||||
from local_config import *
|
||||
except ImportError, e:
|
||||
if not 'local_config' in e.args[0]:
|
||||
raise ImproperlyConfigured('Error while importing "local_config.py"')
|
||||
|
||||
|
|
Reference in New Issue