Hi,
With 2 models as such:
class Place(models.Model):
location = models.PointField()
class Hotel(Place):
name = models.DateTimeField()
While I can import into Place using LayerMapping, when I try to import
into Hotel:
mapping = {'name': 'name',
'location': 'POINT'}
LayerMapping(Hotel, ds, mapping)
I get a:
LayerMapError: Geometry column does not exist for model
As it looks like a bug, I created a ticket for this:
http://code.djangoproject.com/ticket/12093
But, with the hope of getting an advice for a quick fix, I am posting
it here too.
Thanks,
omat