Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed widget parent class in generic_relations test

  • Loading branch information...
commit cf731a543eaae43f989f237727411763c386af1b 1 parent ab7f071
@claudep claudep authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/modeltests/generic_relations/tests.py
View
2  tests/modeltests/generic_relations/tests.py
@@ -231,7 +231,7 @@ def test_gfk_manager(self):
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):

0 comments on commit cf731a5

Please sign in to comment.
Something went wrong with that request. Please try again.