Add support for local_settings.py

This commit is contained in:
2022-07-10 23:31:37 +02:00
parent 7c88983cba
commit 565028de72
2 changed files with 27 additions and 0 deletions

View File

@@ -161,3 +161,10 @@ ROLLING_STOCK_TYPES = [
("equipment", "Equipment"),
("other", "Other"),
]
try:
from ram.local_settings import *
except ImportError:
# If a local_setting.py does not exist
# settings in this file only will be used
pass