#!/usr/bin/env python
import os
import django

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'igny8_core.settings')
django.setup()

from igny8_core.business.integration.models import SiteIntegration
import json

integration = SiteIntegration.objects.get(id=1)
print("Current config_json:")
print(json.dumps(integration.config_json, indent=2))
print("\nIntegration ID:", integration.id)
print("Site:", integration.site.name)
print("Platform:", integration.platform)
print("Is Active:", integration.is_active)
print("Sync Enabled:", integration.sync_enabled)

