Likely both, I would start by filing a ticket. There's a good bet that one or both sides are making some assumptions that conflict.
Alex On Dec 27, 10:08 am, "Ariel Mauricio Nunez Gomez" <[email protected]> wrote: > Not sure if this deserves a ticket(yet), but the current aggregation branch > in Russell's git hub repository fails with default manager > django.contrib.gis.db.models.GeoManager > {{{ > #models.py > from django.contrib.gis.db import models > class SimpleModel(models.Model): > pass > class SimpleGeoModel(models.Model): > objects = models.GeoManager() > > }}} > > {{{ > #Python Shell>>>from django.db.models import Avg > >>>from myapp.models imprt SimpleModel, SimpleGeoModel > >>> SimpleModel.objects.aggregate(Avg('id')) > {'id__avg': None} > >>> SimpleGeoModel.objects.aggregate(Avg('id')) > > ProgrammingError: syntax error at or near "FROM" > LINE 1: SELECT FROM "bi_simplemodel" > > }}} > > Is it a gis issue or an aggregation one? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
