Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
  • Loading branch information...
commit 84226c0b848b39b30ba4781fedb0d87ef1d2f83f 1 parent 9b3aaae
@jbronn jbronn authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 django/contrib/gis/utils/layermapping.py
View
4 django/contrib/gis/utils/layermapping.py
@@ -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),
}
Please sign in to comment.
Something went wrong with that request. Please try again.