1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Updated the tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick
2008-08-09 17:19:44 +00:00
parent dc14b29fb3
commit c763f26173
3 changed files with 8 additions and 2 deletions

View File

@@ -767,6 +767,7 @@ Updates that are filtered on the model being updated are somewhat tricky to get
in MySQL. This exercises that case.
>>> mm = ManagedModel.objects.create(data='mm1', tag=t1, public=True)
>>> ManagedModel.objects.update(data='mm')
1
A values() or values_list() query across joined models must use outer joins
appropriately.