diff --git a/rcpch_nhs_organisations/wsgi.py b/rcpch_nhs_organisations/wsgi.py index 1400fcc..2464e2d 100644 --- a/rcpch_nhs_organisations/wsgi.py +++ b/rcpch_nhs_organisations/wsgi.py @@ -8,9 +8,14 @@ """ import os +import sys + +sys.path.append(os.path.abspath(os.path.dirname(__file__))) +print("Current directory:", os.getcwd()) +print("Python path:", sys.path) from django.core.wsgi import get_wsgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rcpch_nhs_organisations.settings') +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "rcpch_nhs_organisations.settings") application = get_wsgi_application()