We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5ff71 commit b32ecdeCopy full SHA for b32ecde
tests/test_model_serializer.py
@@ -119,7 +119,7 @@ class Meta:
119
positive_small_integer_field = IntegerField()
120
slug_field = SlugField(max_length=100)
121
small_integer_field = IntegerField()
122
- text_field = CharField(style={'type': 'textarea'})
+ text_field = CharField(style={'base_template': 'textarea.html'})
123
time_field = TimeField()
124
url_field = URLField(max_length=100)
125
custom_field = ModelField(model_field=<tests.test_model_serializer.CustomField: custom_field>)
0 commit comments