Révision 83c9a56a
Ajouté par Frédéric Péters il y a presque 4 ans
mandayejs/settings.py | ||
---|---|---|
199 | 199 |
local_settings_file = os.environ.get('MANDAYEJS_SETTINGS_FILE', |
200 | 200 |
os.path.join(os.path.dirname(__file__), 'local_settings.py')) |
201 | 201 |
if os.path.exists(local_settings_file): |
202 |
execfile(local_settings_file) |
|
202 |
exec(open(local_settings_file).read()) |
Formats disponibles : Unified diff
adapt bits for py3 (#19613)