On 13-8-2012 14:23, Melvyn Sopacua wrote:
> On 13-8-2012 13:47, Satinderpal Singh wrote:
> 
>> I got the following error while making the tables in database using
>> syncdb command:
>>
>> AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'
>>
>> I recently install GEOS library and import it to my model.py file. Any
>> help will be appreciated, thanks in advance.
> 
> Instead of:
> from django.db import models
> use:
> from django.contrib.gis.db import models

Strike that, your actual problem is that your settings.py does not
contain the correct gis enabled backend.
Still, getting the tutorial to work is key. ;)

-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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 at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to