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:
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…
x
Reference in New Issue
Block a user