On Wednesday 26 January 2011 05:57:01 B. Heath Robinson wrote:
> I am getting the following error when I try a complicated filter with a
> join involving bboverlaps.
> 
> Join on field 'shape' not permitted. Did you misspell 'bboverlaps' for
> the lookup type?
> 
> 
> Here is the line that causes the problem.
> 
> saved_properties =
> saved_properties.filter(property__parcel__shape__bboxoverlaps=mybbox)
> 
> Is this a legitimate way to use bboverlaps?

You didn't posted your models, but does all of those, property and parcel have 
explicit definition GeoManager as their default manager?

-- 

Jani Tiainen

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