ok, if ound it
class District(models.Model):
point = gis_models.PointField()
objects = gis_models.GeoManager()
-- Forwarded message --
From: Владимир Сидоренко <[EMAIL PROTECTED]>
Date: 2008/9/23
Subject: GeoDjango, installation error
To: django-users@googlegrou
hi
i have a model:
from django.contrib.gis.db import models as gis_models
class District(models.Model):
point = gis_models.PointField()
and then:
> d = District()
> d.point = "POINT(1 2)"
> d.save()
> d2 = District.objects.get(pk=1)
> d2.point
...
: String or unicode input unrecognized as W
2 matches
Mail list logo