# django.core.exceptions.ValidationError: {'email': [ValidationError(['Enter a valid email address.'])]}

- **ID:** `python/django-model-field-validation-error`
- **Domain:** python
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

模型字段的验证器检测到无效数据

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.2 | active | — | — |
| 4.0 | active | — | — |
| 5.0 | active | — | — |

## Workarounds

1. **提供有效的邮箱地址** (100% success)
   ```
   确保输入符合邮箱格式，如 'user@example.com'
   ```
2. **自定义验证器** (95% success)
   ```
   from django.core.validators import validate_email; validate_email(value)
   ```

## Dead Ends

- **禁用字段验证** — 可能导致无效数据存入数据库 (90% fail)
- **修改验证器规则** — 可能破坏数据完整性 (60% fail)
