summaryrefslogtreecommitdiff
path: root/tests/modeltests/model_formsets
diff options
context:
space:
mode:
authorJoseph Kocherhans <joseph@jkocherhans.com>2009-04-01 22:16:34 +0000
committerJoseph Kocherhans <joseph@jkocherhans.com>2009-04-01 22:16:34 +0000
commitdc832d7753a0c65db5eca5ce0b2d046bd0d299e8 (patch)
tree3c7fc7ec1d1439013cc3a97d0c948123d4e1245e /tests/modeltests/model_formsets
parentb2645a15fdd2143d141072b9a1d2d5ffa27d70d1 (diff)
Fixed some silly assumptions about pk's that broke the test suite under postgresql.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/model_formsets')
-rw-r--r--tests/modeltests/model_formsets/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/model_formsets/tests.py b/tests/modeltests/model_formsets/tests.py
index 23e8a0c01e..a45b44375f 100644
--- a/tests/modeltests/model_formsets/tests.py
+++ b/tests/modeltests/model_formsets/tests.py
@@ -9,7 +9,7 @@ class DeletionTests(TestCase):
data = {
'form-TOTAL_FORMS': u'1',
'form-INITIAL_FORMS': u'1',
- 'form-0-id': u'1',
+ 'form-0-id': str(poet.pk),
'form-0-name': u'test',
'form-0-DELETE': u'on',
}