Thanks Justin,

I seemed to have glanced over that section of the documentation, I'd
realized that the query wasn't actually using the query from
contrib/gis and that explains why!

Thanks again!
Ben

On Jan 8, 2008 8:34 PM, Justin Bronn <[EMAIL PROTECTED]> wrote:
>
> Ben,
>
> > Can anyone help as to why I can't load my points? Is it a MySql problem?
> >
>
> No, it is not a MySQL problem.  This didn't work because you forgot to
> set the model manager to use the `GeoManager`, i.e., you didn't add
> `objects = models.GeoManager()` to both your UserProfile and Lcoation
> models.  This is critical -- GeoDjango's geographic extensions are not
> used without the GeoManager, thus resulting in failures when trying to
> access geometry columns.
>
> I urge you to read the GeoDjango Model API documentation:
> http://code.djangoproject.com/wiki/GeoDjangoModelAPI#GeoManager
>
> Regards,
> -Justin
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to