GeoDjango ShapeEditor  code from 'Python Geospatial Development' book