Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[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
  • Loading branch information...
commit e37fae7fb95238af00fee5b1087b01134ed391aa 1 parent 032beb1
Justin Bronn jbronn authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/gis/utils/layermapping.py
1  django/contrib/gis/utils/layermapping.py
View
@@ -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),
}
Please sign in to comment.
Something went wrong with that request. Please try again.