django/django/db
Loic Bistuer 20eb51ce0d Fix small regression caused by 71ada3a8e6.
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.
2015-02-05 16:59:56 +07:00
..
backends Fixed #24245 -- Added introspection for database defaults. 2015-01-31 12:33:11 -05:00
migrations Fixed typos in code comments. 2015-01-20 12:18:03 -05:00
models Fix small regression caused by 71ada3a8e6. 2015-02-05 16:59:56 +07:00
__init__.py Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets from a different Django version. 2014-06-11 10:03:34 -04:00
transaction.py Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. 2014-09-29 00:01:38 +07:00
utils.py Removed support for old-style test database settings per deprecation timeline. 2015-01-17 09:55:18 -05:00