Browse files

Fixed widget parent class in generic_relations test

  • Loading branch information...
1 parent ab7f071 commit cf731a543eaae43f989f237727411763c386af1b @claudep claudep committed Jul 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/modeltests/generic_relations/tests.py
View
2 tests/modeltests/generic_relations/tests.py
@@ -231,7 +231,7 @@ def test_gfk_manager(self):
tag = TaggedItem.objects.create(content_object=tailless, tag="lizard")
self.assertEqual(tag.content_object, tailless)
-class CustomWidget(forms.CharField):
+class CustomWidget(forms.TextInput):
pass
class TaggedItemForm(forms.ModelForm):

0 comments on commit cf731a5

Please sign in to comment.