2👍
Don’t really know, but some tips:
-
You need to have PostGIS 1.5+ installed.
-
Define field like this:
maplocation = models.PointField(geography=True)
. -
Set model manager to
django.contrib.gis.db.models.GeoManager
(I think this is not required to use geography, but You will need it later to make queries).
Source:stackexchange.com