I am trying to set up a PostGIS DB in Django to track Lat/Lon of a
location, and use it with the Google Maps API. However when I try to
run 'python manage.py syncdb' after running 'createdb -T
template_postgis mydb' I get this error.
Failed to install index for reviews.Location model: function
addgeometrycolumn(unknown, unknown, integer, unknown, integer) does
not exist
LINE 1: SELECT AddGeometryColumn('reviews_location', 'geometry',
432...
^
HINT: No function matches the given name and argument types. You
might need to add explicit type casts.
Anyone have any advice or ideas?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.