1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Added PositiveIntegerField support to LayerMapping.

This commit is contained in:
Gabriele Giaccari 2019-02-07 22:25:15 +01:00 committed by Tim Graham
parent 99fc5dc13c
commit 52e9c75365

View File

@ -76,6 +76,7 @@ class LayerMapping:
models.UUIDField: OFTString,
models.BigIntegerField: (OFTInteger, OFTReal, OFTString),
models.SmallIntegerField: (OFTInteger, OFTReal, OFTString),
models.PositiveIntegerField: (OFTInteger, OFTReal, OFTString),
models.PositiveSmallIntegerField: (OFTInteger, OFTReal, OFTString),
}