I have a wrong displaying of my PointFields in the admin interface of GeoDjango.
Here is my model:
models.py
1 class FOO(models.Model):
2 name = models.CharField(max_length=100)
3 point = models.PointField(srid=4326)
5 objects = models.GeoManager()
But when I create a point like :
from django.contrib.gis.geos import Point
p = Point(43.620416,7.065491)
foo = FOO(.. , point=p)
foo.save()
It is not in the database in a correct format, in this example it is like (4856153.76879, 788079.64711) on the display with OSM, that is to say something completely different than what I entered. Does anyone have an idea to explain this behaviour?
Thanks in advance