#11510: Import path for aggregates is incorrect ---------------------------+------------------------------------------------ Reporter: admackin | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ All the samples for aggregates at http://docs.djangoproject.com/en/dev/topics/db/aggregation/#topics-db- aggregation show the import path as {{{ >>> from django.db.models import Avg, Max, Min, Count }}}
This results in an `ImportError`. It should be changed to the correct path: {{{ >>> from django.db.models.aggregates import Avg, Max, Min, Count }}} -- Ticket URL: <http://code.djangoproject.com/ticket/11510> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---