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

The gis docs are very informative, try to get the tutorial working first.

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