import os
import sys

# Absolute path to the project root (where manage.py lives)
project_home = '/home/mentosht/public_html/greatkart_app'
if project_home not in sys.path:
    sys.path.insert(0, project_home)

# Replace 'greatkart' with the actual name of the folder that has settings.py
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'greatkart.settings')

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
