Files
api-bashgah/config/settings/__init__.py
T
2026-06-15 10:57:28 +03:30

8 lines
171 B
Python

import os
django_env = os.getenv('DJANGO_ENV', 'local')
if django_env == 'local':
from .local import *
elif django_env == 'production':
from .production import *