I'm following the GeoDjango
tutorial<https://docs.djangoproject.com/en/dev/ref/contrib/gis/tutorial/>,
and when I get to the "Run syncdb" section and I run "python manage.py
syncdb", I get the following error:
Failed to install index for world.WorldBorder model: function
> addgeometrycolumn(unknown, unknown, integer, unknown, integer) is not unique
> LINE 1: SELECT AddGeometryColumn('world_worldborder', 'mpoly', 4326,...
> ^
> HINT: Could not choose a best candidate function. You might need to add
> explicit type casts.
Sure enough there are about 5 AddGeometryColumn functions in my database
created from a PostGIS database template. I understand that it's using
overloads, but why isn't this working?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/zKnzE3egZwsJ.
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.