summaryrefslogtreecommitdiff
path: root/django/contrib/admin/__init__.py
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2008-08-01 23:16:59 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2008-08-01 23:16:59 +0000
commit2db4b134809e162a6aa142300a1df14638eeae94 (patch)
tree380335351c5dc9afd081c7d5ebf8ecf876ef1161 /django/contrib/admin/__init__.py
parentb5c5e8b4c06823fc3a14268a6e106e3fb6807813 (diff)
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
Diffstat (limited to 'django/contrib/admin/__init__.py')
0 files changed, 0 insertions, 0 deletions