mirror of
https://github.com/Hopiu/django.git
synced 2026-04-07 16:41:03 +00:00
During direct assignment, evaluating the iterable before the transaction is started avoids leaving the transaction dirty if an exception is raised. This is slightly more wasteful but probably not enough to warrant a change of behavior. Thanks Anssi for the feedback. Refs #6707. |
||
|---|---|---|
| .. | ||
| backends | ||
| migrations | ||
| models | ||
| __init__.py | ||
| transaction.py | ||
| utils.py | ||