Re: geodjango join problem

2008-09-03 Thread robstar
I forgot to paste it, but I did include objects = models.GeoManager() in my class. I also tried making a different object like geo_objects = models.GeoManager() and ran that from the shell to make sure I was invoking the right manager. I still get that same traceback ... any ideas?? On Sep

Re: geodjango join problem

2008-09-02 Thread robstar
Oops, forgot to paste that in .. I've got that in there. On Sep 2, 6:29 pm, Justin Bronn <[EMAIL PROTECTED]> wrote: > > class Location(models.Model): > >   geo_loc         = models.PointField() > > > The thing that strikes me as strange is that the geomanager doesn't > > show up at all in the

Re: geodjango join problem

2008-09-02 Thread Justin Bronn
> class Location(models.Model): >   geo_loc         = models.PointField() > > The thing that strikes me as strange is that the geomanager doesn't > show up at all in the traceback...  not sure why I can't do a join on > geo_loc ?! > > Thanks for your help. You need to put `objects =

geodjango join problem

2008-09-02 Thread robstar
Hi guys, I just got geodjango installed and am trying to do a basic radius query as shown on the wiki. ver: Django-1.0-beta_2 class Location(models.Model): geo_loc = models.PointField() This is the example: from django.contrib.gis.geos import * from suitengine.models import