{
  "id": "python/django-content-type-error",
  "signature": "django.core.exceptions.ImproperlyConfigured: The contenttypes framework is not enabled.",
  "signature_zh": "django.core.exceptions.ImproperlyConfigured: 未启用contenttypes框架。",
  "regex": "django\\.core\\.exceptions\\.ImproperlyConfigured:\\ The\\ contenttypes\\ framework\\ is\\ not\\ enabled\\.",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Removed 'django.contrib.contenttypes' from INSTALLED_APPS, but it's required by auth and admin.",
  "root_cause_type": "generic",
  "root_cause_zh": "从INSTALLED_APPS中移除了'django.contrib.contenttypes'，但auth和admin需要它。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Breaks authentication and admin functionality.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "May cause migration errors if tables are missing.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Add 'django.contrib.contenttypes' back to INSTALLED_APPS and run migrations.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Ensure contenttypes is included before auth in INSTALLED_APPS.",
      "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.87,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-12-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}