"""
Django settings package.
Automatically loads the correct settings based on DJANGO_SETTINGS_MODULE environment variable.
"""

import os

# Determine which settings to use
settings_module = os.getenv('DJANGO_SETTINGS_MODULE', 'config.settings.local')

if settings_module == 'config.settings.production':
    from .production import *
elif settings_module == 'config.settings.local':
    from .local import *
else:
    # Default to local for development
    from .local import *
