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
This commit is contained in:
Justin Bronn 2011-03-30 19:23:43 +00:00
parent 9b3aaae255
commit 84226c0b84
1 changed files with 1 additions and 3 deletions

View File

@ -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),
}