#6603: QuerySet in extra_context should be handled automatically
---------------------------------------------+------------------------------
          Reporter:  Waldemar Kornewald      |         Owner:  nobody
            Status:  new                     |     Milestone:        
         Component:  Generic views           |       Version:  SVN   
        Resolution:                          |      Keywords:        
             Stage:  Design decision needed  |     Has_patch:  1     
        Needs_docs:  1                       |   Needs_tests:  1     
Needs_better_patch:  1                       |  
---------------------------------------------+------------------------------
Comment (by SmileyChris):

 Maybe I'm overlooking something, but can't you just pass the `all` method
 of the manager?
 {{{
 extra_context = {'news': News.objects.all}
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6603#comment:5>
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