1
0
mirror of https://github.com/django/django.git synced 2025-10-17 18:59:14 +00:00

2 Commits

Author SHA1 Message Date
Justin Bronn
85ce45bc44 gis: Fixed DecimalField verification in LayerMapping.
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@6708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-20 15:13:55 +00:00
Justin Bronn
e88ce426b6 gis: LayerMapping refactor
(1) Moved all routines into LayerMapping class (for easier subclassing) and modularized the routines.
 (2) OFTString and OFTReal OGR fields are verified w/the Django fields prior to insertion, thus avoiding invalidating a large transaction.
 (3) Added keyword options for specifying the transaction mode, not performing transformations, and status printing.
 (4) Created unit tests.
Other Changes:
 Updated `ogrinfo` for GDAL refactor and fixed an iterating bug; simplified a few lines in `geoapp` model tests.


git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@6687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-17 21:57:12 +00:00