Sounds like your database is not set to use postgis, are you using this:
django.contrib.gis.db.backends.postgis
as the database backend (i.e in settings.py, for the DATABASE variable, and
the 'ENGINE' setting instead of psycogb2)?
-Tim
On Friday, September 7, 2012 9:25:22 AM UTC-4, Coulson Thabo Kgathi wrote:
>
> AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'
>
> i get this error when i run the command
>
> $ python manage.py sqlall world
>
> world being the app i created for the geodjango project in the geodjango
> toturial
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visithttps://groups.google.com/d/msg/django-users/-/4QNN9ZH6PBkJ.
To post to this group, send email to
django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.