# django.core.exceptions.MultipleObjectsReturned: get() returned more than one Article -- it returned 2!

- **ID:** `python/django-orm-multiple-objects-returned`
- **Domain:** python
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

使用get()查询时条件不唯一，匹配到多条记录

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   article = Article.objects.filter(title='x').first()
   ```
2. **** (80% success)
   ```
   添加unique=True约束或使用get_object_or_404
   ```

## Dead Ends

- **** — order_by只影响排序，不影响返回数量，get()仍会抛出异常 (90% fail)
- **** — 异常被吞掉后程序继续运行，可能导致数据不一致 (60% fail)
