magic-removal: Fixed errors in custom_pk model unit tests

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-02-03 23:42:46 +00:00
parent eee4f00bfb
commit 5bd6d2b949
1 changed files with 2 additions and 3 deletions

View File

@ -61,9 +61,8 @@ Dan Jones
>>> b = Business(name='Sears')
>>> b.save()
>>> b.set_employees([dan.employee_code, fran.employee_code])
True
>>> b.employee_set.all()
>>> b.employees.add(dan, fran)
>>> b.employees.all()
[Dan Jones, Fran Jones]
>>> fran.business_set.all()
[Sears]