<filename>config/settings/__init__.py
from .base import *
import os


if os.environ.get("ENVIRONMENT") == 'Production':
    from .production import *
else:
    from .development import *

<filename>config/settings/__init__.py
from .base import *
import os


if os.environ.get("ENVIRONMENT") == 'Production':
    from .production import *
else:
    from .development import *
