Skip to content

Commit 31034e1

Browse files
committed
Add Decimal Field to model to field mapping
1 parent 9cc6022 commit 31034e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django_elasticsearch_dsl/documents.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
models.CharField: TextField,
3434
models.DateField: DateField,
3535
models.DateTimeField: DateField,
36+
models.DecimalField: DoubleField,
3637
models.EmailField: TextField,
3738
models.FileField: FileField,
3839
models.FilePathField: KeywordField,

0 commit comments

Comments
 (0)