"""
WSGI config for yoocare project.

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

#os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'yoocare.settings')

#application = get_wsgi_application()

#import os
#from django.core.wsgi import get_wsgi_application

 #Update to point to the production settings module
#os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings.prod')

#application = get_wsgi_application()
import os
import sys
from django.core.wsgi import get_wsgi_application

# Set the default settings module to the prod settings
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings.prod')

# Add the project’s root directory to the sys.path
sys.path.append('/var/www/peopleoo.sandbox-dev.co.uk')

application = get_wsgi_application()
