Fixed widget parent class in generic_relations test

This commit is contained in:
Claude Paroz 2012-07-03 11:56:41 +02:00
parent ab7f071058
commit cf731a543e
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ class GenericRelationsTests(TestCase):
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):