Make sure you run step 2.5 here on the current database before running
syncdb: http://postgis.refractions.net/docs/ch02.html#id2619431
Did you do that?

Lucian

On Wed, Sep 14, 2011 at 11:39 PM, Dan H <[email protected]> wrote:

> I am getting the following error:
>
> django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS
> version for database "dbname". GeoDjango requires at least PostGIS
> version 1.3. Was the database created from a spatial database
> template?
>
> when i try to run: python manage.py syncdb
>
> and when i navigate to /usr/lib/postgis i see that i have version 1.4
> installed. What am I missing?
>
> Does anyone know a good tutorial on setting up GeoDjango? It has been
> nothing but error after error for me
>
> --
> 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.
>
>

-- 
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.

Reply via email to