Skip to content

Commit 1717af1

Browse files
authored
Merge pull request #141 from PaiAkshay998/add_decimal_field
Add Decimal Field to model to field mapping
2 parents addce06 + 31034e1 commit 1717af1

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
@@ -28,6 +28,7 @@
2828
models.CharField: TextField,
2929
models.DateField: DateField,
3030
models.DateTimeField: DateField,
31+
models.DecimalField: DoubleField,
3132
models.EmailField: TextField,
3233
models.FileField: FileField,
3334
models.FilePathField: KeywordField,

0 commit comments

Comments
 (0)