{
  "id": "python/django-orm-lazy-load-error",
  "signature": "django.core.exceptions.FieldError: Cannot resolve keyword 'related_field' into field. Choices are: id, name.",
  "signature_zh": "Django字段错误：无法将关键字'related_field'解析为字段。可选字段为：id, name。",
  "regex": "django\\.core\\.exceptions\\.FieldError:\\ Cannot\\ resolve\\ keyword\\ 'related_field'\\ into\\ field\\.\\ Choices\\ are:\\ id,\\ name\\.",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "Trying to filter on a related model field without proper double underscore syntax.",
  "root_cause_type": "generic",
  "root_cause_zh": "尝试在关联模型字段上过滤，但没有使用正确的双下划线语法。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Django requires double underscore for traversing relations.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Doesn't allow database-level filtering, only Python-side.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Use correct syntax: Model.objects.filter(related_model__field='value')",
      "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.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-01-30",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}