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:
parent
eee4f00bfb
commit
5bd6d2b949
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue