"""
WSGI config for Stream Processor project.

This module contains the WSGI (Web Server Gateway Interface) configuration
for the Django application. WSGI is the standard interface between Python
web applications and web servers.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see:
https://docs.djangoproject.com/en/4.2/howto/deployment/wsgi/
"""

import os
from django.core.wsgi import get_wsgi_application

# Set the default Django settings module for the WSGI application
# This tells Django which settings file to use when the application starts
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings')

# Get the WSGI application callable
# This is what web servers like Gunicorn or uWSGI will use to serve the application
application = get_wsgi_application()
