We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea2145 commit 2415942Copy full SHA for 2415942
django_elasticsearch_dsl/documents.py
@@ -42,7 +42,6 @@
42
models.ImageField: FileField,
43
models.IntegerField: IntegerField,
44
models.NullBooleanField: BooleanField,
45
- models.PositiveBigIntegerField: LongField,
46
models.PositiveIntegerField: IntegerField,
47
models.PositiveSmallIntegerField: ShortField,
48
models.SlugField: KeywordField,
@@ -53,6 +52,9 @@
53
52
models.UUIDField: KeywordField,
54
}
55
+if DJANGO_VERSION >= (3.1,):
56
+ model_field_class_to_field_class[models.PositiveBigIntegerField] = LongField
57
+
58
59
class DocType(DSLDocument):
60
_prepared_fields = []
0 commit comments