From 806bffcf08893fc9a5104b3a1208551a5627473e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 3 Mar 2011 23:54:12 +0000 Subject: [PATCH] =?UTF-8?q?Fixed=20#15544=20--=20Corrected=20a=20test=20fa?= =?UTF-8?q?ilure=20in=20the=20generic=20views=20tests=20that=20depended=20?= =?UTF-8?q?on=20primary=20key=20allocation.=20Thanks=20to=20=C5=81ukasz=20?= =?UTF-8?q?Rekucki=20for=20the=20report.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://code.djangoproject.com/svn/django/trunk@15742 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/generic_views/edit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/regressiontests/generic_views/edit.py b/tests/regressiontests/generic_views/edit.py index 923578d9d9..f542a68a0d 100644 --- a/tests/regressiontests/generic_views/edit.py +++ b/tests/regressiontests/generic_views/edit.py @@ -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', )