Commit 84226c0b authored by Justin Bronn's avatar Justin Bronn
Browse files

Fixed `LayerMapping` to support `BigIntegerField` and removed support for `XMLField`.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 9b3aaae2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -54,9 +54,7 @@ class LayerMapping(object):
        models.TextField : OFTString,
        models.URLField : OFTString,
        USStateField : OFTString,
        # 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),
        }