mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
@@ -290,12 +290,14 @@ class GenericRelationsTests(TestCase):
|
||||
class CustomWidget(forms.TextInput):
|
||||
pass
|
||||
|
||||
|
||||
class TaggedItemForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = TaggedItem
|
||||
fields = '__all__'
|
||||
widgets = {'tag': CustomWidget}
|
||||
|
||||
|
||||
class GenericInlineFormsetTest(TestCase):
|
||||
def test_generic_inlineformset_factory(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user