mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
magic-removal: Fixed bug in custom_pk unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -45,7 +45,7 @@ Fran Bones
|
||||
>>> Employee.objects.get_object(pk='foo')
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
EmployeeDoesNotExist: Employee does not exist for {'pk': 'foo'}
|
||||
DoesNotExist: Employee does not exist for {'pk': 'foo'}
|
||||
|
||||
# Fran got married and changed her last name.
|
||||
>>> fran = Employee.objects.get_object(pk='XYZ456')
|
||||
|
||||
Reference in New Issue
Block a user