Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type' [RSS Feed]

#1 Sept. 7, 2012 14:25:27

Coulson T.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'


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/-/4aXQ8fSJSM0J.
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.

Offline

#2 Sept. 7, 2012 20:41:03

t.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'


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.

Offline

  • Root
  • » Django
  • » AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type' [RSS Feed]

Board footer

Moderator control

Enjoy the 24th of July
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support