Skip to content

Commit b32ecde

Browse files
committed
modified the tests accordingly
1 parent 6c5ff71 commit b32ecde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_model_serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class Meta:
119119
positive_small_integer_field = IntegerField()
120120
slug_field = SlugField(max_length=100)
121121
small_integer_field = IntegerField()
122-
text_field = CharField(style={'type': 'textarea'})
122+
text_field = CharField(style={'base_template': 'textarea.html'})
123123
time_field = TimeField()
124124
url_field = URLField(max_length=100)
125125
custom_field = ModelField(model_field=<tests.test_model_serializer.CustomField: custom_field>)

0 commit comments

Comments
 (0)