mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 17:52:37 +02:00

Loading not versioned settings.py during tests make them less predictable. That's inspired from django behaviour with DJANGO_SETTING_MODULE environment variable.
10 lines
153 B
Python
10 lines
153 B
Python
"""
|
|
Merges default settings with user-defined settings
|
|
"""
|
|
|
|
from default_settings import *
|
|
|
|
try:
|
|
from settings import *
|
|
except ImportError:
|
|
pass
|