[1.3.X] Fixed `LayerMapping` to support `BigIntegerField`.

Backport of r15961 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@15962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Justin Bronn 2011-03-30 19:26:11 +00:00
parent 032beb11da
commit e37fae7fb9
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ class LayerMapping(object):
# This is a reminder that XMLField is deprecated
# and this needs to be removed in 1.4
models.XMLField : OFTString,
models.BigIntegerField : (OFTInteger, OFTReal, OFTString),
models.SmallIntegerField : (OFTInteger, OFTReal, OFTString),
models.PositiveSmallIntegerField : (OFTInteger, OFTReal, OFTString),
}