Fixed widget parent class in generic_relations test
This commit is contained in:
parent
ab7f071058
commit
cf731a543e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue