Fixed #15544 -- Corrected a test failure in the generic views tests that depended on primary key allocation. Thanks to Łukasz Rekucki for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2011-03-03 23:54:12 +00:00
parent d05bb1384a
commit 806bffcf08
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@ class UpdateViewTests(TestCase):
def test_update_get_object(self):
a = Author.objects.create(
pk=1,
name='Randall Munroe',
slug='randall-munroe',
)