#!/usr/bin/env python import os import sys # Change to project directory os.chdir('/home/adebaumann/development/vgui-cicd') sys.path.insert(0, '.') print("Testing direct import of settings module...") try: import VorgabenUI.settings as settings_module print("✓ Import successful") # Check if attributes exist print("Has DATABASES:", hasattr(settings_module, 'DATABASES')) print("Has BASE_DIR:", hasattr(settings_module, 'BASE_DIR')) if hasattr(settings_module, 'DATABASES'): print("DATABASES value:", settings_module.DATABASES) else: print("DATABASES not found") if hasattr(settings_module, 'BASE_DIR'): print("BASE_DIR value:", settings_module.BASE_DIR) else: print("BASE_DIR not found") except Exception as e: print("✗ Import failed:", e) import traceback traceback.print_exc()