mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Add support for local_settings.py
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user