Author: jbronn
Date: 2011-03-30 12:23:43 -0700 (Wed, 30 Mar 2011)
New Revision: 15961
Modified:
django/trunk/django/contrib/gis/utils/layermapping.py
Log:
Fixed `LayerMapping` to support `BigIntegerField` and removed support for
`XMLField`.
Modified: django/trunk/django/contrib/gis/utils/layermapping.py
===================================================================
--- django/trunk/django/contrib/gis/utils/layermapping.py 2011-03-30
18:49:42 UTC (rev 15960)
+++ django/trunk/django/contrib/gis/utils/layermapping.py 2011-03-30
19:23:43 UTC (rev 15961)
@@ -54,9 +54,7 @@
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),
}
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.