diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-07-03 11:56:41 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-07-03 11:57:15 +0200 |
| commit | cf731a543eaae43f989f237727411763c386af1b (patch) | |
| tree | 908cfc310f24957353806d683e2572c36caef2d0 | |
| parent | ab7f0710584a3cbb3737e9a7fd8e3fd21765e594 (diff) | |
Fixed widget parent class in generic_relations test
| -rw-r--r-- | tests/modeltests/generic_relations/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/generic_relations/tests.py b/tests/modeltests/generic_relations/tests.py index d3de71d917..14871e4e09 100644 --- a/tests/modeltests/generic_relations/tests.py +++ b/tests/modeltests/generic_relations/tests.py @@ -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): |
