{
  "id": "python/django-timezone-issue",
  "signature": "django.core.exceptions.ImproperlyConfigured: TIME_ZONE setting must be set to a valid timezone string.",
  "signature_zh": "Django配置错误：TIME_ZONE设置必须设置为有效的时区字符串。",
  "regex": "django\\.core\\.exceptions\\.ImproperlyConfigured:\\ TIME_ZONE\\ setting\\ must\\ be\\ set\\ to\\ a\\ valid\\ timezone\\ string\\.",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "TIME_ZONE in settings is empty or invalid.",
  "root_cause_type": "generic",
  "root_cause_zh": "设置中的TIME_ZONE为空或无效。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Django expects IANA timezone names, not offsets.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Defaults to 'America/Chicago' which may be wrong.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Set TIME_ZONE = 'Asia/Shanghai' or other valid IANA string.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.84,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-03-22",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}