Administrator/administrator/settings/__init__.py

7 lines
188 B
Python

from pathlib import Path
from .global_settings import *
local_settings = Path(__file__).parent / Path(f"local_settings.py")
if local_settings.exists():
from .local_settings import *