mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 11:04:02 +03:00
[FIX] add missing DurationField to SimpleMetada label_lookup (#8702)
This commit is contained in:
parent
751808c59b
commit
dc300aa4e0
|
@ -48,6 +48,7 @@ class SimpleMetadata(BaseMetadata):
|
|||
serializers.DateField: 'date',
|
||||
serializers.DateTimeField: 'datetime',
|
||||
serializers.TimeField: 'time',
|
||||
serializers.DurationField: 'duration',
|
||||
serializers.ChoiceField: 'choice',
|
||||
serializers.MultipleChoiceField: 'multiple choice',
|
||||
serializers.FileField: 'file upload',
|
||||
|
|
Loading…
Reference in New Issue
Block a user