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
1 changed files with 1 additions and 0 deletions

View File

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