I have followed the geodjango installation(windows XP) and tutorial to perfection I am running django 1.2 When I get to syncdb and run I receive the following.
raise ImproperlyConfigured(error_msg)
django.core.exceptions.ImproperlyConfigured:'django.db.backends.postgis' isn
an available database backend.
Try using django.db.backends.XXX, where XXX is one of:
'dummy', 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2', 'sqlite3
Error was: No module named postgis.base
I tried changing to 'django.db.backends.postgresql_psycopg2' as an alternative But then I receive this response:
AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'
When I try posgresql:
**raise ImproperlyConfigured("Error loading psycopg module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading psycopg module: No mo
dule named psycopg**
Is it not supposed to be postgis which I successful downloaded and installed? why isn’t it working? I am new and I am trying to learn so any help would be greatly appreciated.