1
0
mirror of https://github.com/django/django.git synced 2025-04-04 21:46:40 +00:00

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

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):