Loading tests/modeltests/generic_relations/tests.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
tests/modeltests/generic_relations/tests.py +1 −1 Original line number Diff line number Diff line Loading @@ -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