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:
parent
9b3aaae255
commit
84226c0b84
|
@ -54,9 +54,7 @@ class LayerMapping(object):
|
||||||
models.TextField : OFTString,
|
models.TextField : OFTString,
|
||||||
models.URLField : OFTString,
|
models.URLField : OFTString,
|
||||||
USStateField : OFTString,
|
USStateField : OFTString,
|
||||||
# This is a reminder that XMLField is deprecated
|
models.BigIntegerField : (OFTInteger, OFTReal, OFTString),
|
||||||
# and this needs to be removed in 1.4
|
|
||||||
models.XMLField : OFTString,
|
|
||||||
models.SmallIntegerField : (OFTInteger, OFTReal, OFTString),
|
models.SmallIntegerField : (OFTInteger, OFTReal, OFTString),
|
||||||
models.PositiveSmallIntegerField : (OFTInteger, OFTReal, OFTString),
|
models.PositiveSmallIntegerField : (OFTInteger, OFTReal, OFTString),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue