{
  "id": "python/django-model-field-validation-error",
  "signature": "django.core.exceptions.ValidationError: {'email': [ValidationError(['Enter a valid email address.'])]}",
  "signature_zh": "验证错误：邮箱字段需要有效的邮箱地址",
  "regex": "django\\.core\\.exceptions\\.ValidationError:\\ \\{'email':\\ \\[ValidationError\\(\\['Enter\\ a\\ valid\\ email\\ address\\.'\\]\\)\\]\\}",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "模型字段的验证器检测到无效数据",
  "root_cause_type": "generic",
  "root_cause_zh": "Django 模型字段的内置验证器检查失败",
  "versions": [
    {
      "version": "3.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "4.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "5.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "禁用字段验证",
      "why_fails": "可能导致无效数据存入数据库",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "修改验证器规则",
      "why_fails": "可能破坏数据完整性",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "提供有效的邮箱地址",
      "success_rate": 1.0,
      "how": "确保输入符合邮箱格式，如 'user@example.com'",
      "condition": "",
      "sources": []
    },
    {
      "action": "自定义验证器",
      "success_rate": 0.95,
      "how": "from django.core.validators import validate_email; validate_email(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.84,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-01-10",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}