{
  "id": "python/django-staticfile-notfound",
  "signature": "django.core.exceptions.ImproperlyConfigured: The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting.",
  "signature_zh": "Django配置错误：STATICFILES_DIRS设置不应包含STATIC_ROOT设置。",
  "regex": "django\\.core\\.exceptions\\.ImproperlyConfigured:\\ The\\ STATICFILES_DIRS\\ setting\\ should\\ not\\ contain\\ the\\ STATIC_ROOT\\ setting\\.",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The STATICFILES_DIRS list includes the same path as STATIC_ROOT, causing a configuration conflict.",
  "root_cause_type": "generic",
  "root_cause_zh": "STATICFILES_DIRS列表包含了与STATIC_ROOT相同的路径，导致配置冲突。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "STATIC_ROOT is required for collectstatic to work in production.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Loses custom static file locations, breaking app-specific static files.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Ensure STATIC_ROOT and STATICFILES_DIRS point to different directories. Example: STATIC_ROOT = BASE_DIR / 'staticfiles' and STATICFILES_DIRS = [BASE_DIR / 'static']",
      "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-05-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}