[FIX] add missing DurationField to SimpleMetada label_lookup (#8702)

This commit is contained in:
smt-insens 2022-11-21 15:33:19 +01:00 committed by GitHub
parent 751808c59b
commit dc300aa4e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',