django1/django/db
Gary Wilson Jr 2db4b13480 Fixed #8070 -- Cache related objects passed to Model init as keyword arguments. Also:
* Model init no longer performs a database query to refetch the related objects it is passed.
 * Model init now caches unsaved related objects correctly, too. (Previously, accessing the field would raise `DoesNotExist` error for `null=False` fields.)
 * Added tests for assigning `None` to `null=True` `ForeignKey` fields (refs #6886).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 23:16:59 +00:00
..
backends Fixed #8028 -- A couple of small docstring fixes from [8131]. Thanks, Leo Soto. 2008-07-30 03:16:39 +00:00
models Fixed #8070 -- Cache related objects passed to Model init as keyword arguments. Also: 2008-08-01 23:16:59 +00:00
__init__.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
transaction.py Fixed #6928 -- Added a little more robustness to transaction rollbacks for Python 2.5. Patch from guettli. 2008-06-30 11:56:52 +00:00