#10052: Small Aggregation Documentation Update -  Import Line
-----------------------------------------------------+----------------------
 Reporter:  Tyler Brownell <[email protected]>  |       Owner:  nobody    
   Status:  new                                      |   Milestone:  post-1.0  
Component:  Documentation                            |     Version:  1.0       
 Keywords:                                           |       Stage:  Unreviewed
Has_patch:  0                                        |  
-----------------------------------------------------+----------------------
 This change request is for the ''generating aggregates over a queryset''
 section of the aggregation documentation:[[BR]]
 http://docs.djangoproject.com/en/dev/topics/db/aggregation/#generating-
 aggregates-over-a-queryset

 Please change the following line of code to include the other methods that
 are used throughout the page:
 {{{
 from django.db.models import Avg
 }}}

 Should be changed to:
 {{{
 from django.db.models import Avg, Max, Min, Count
 }}}

 This way new Django users, like me, know that these methods have to be
 imported, and imported from django.db.models before they can be used.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10052>
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 [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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to