"""
WSGI config for castspot_project 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/2.2/howto/deployment/wsgi/
"""

import os
import sys

from django.core.wsgi import get_wsgi_application

app_path = os.path.abspath(os.path.join(
    os.path.dirname(os.path.abspath(__file__)), os.pardir))
sys.path.append(app_path)

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'castspot_project.settings')

application = get_wsgi_application()
