#667: [patch] extra_lookup_kwargs and extra_context in infodicts should accept
callbacks
---------------------------+------------------------------------------------
 Reporter:  hugo           |        Owner:  jacob
     Type:  enhancement    |       Status:  new  
 Priority:  normal         |    Milestone:       
Component:  Generic views  |      Version:       
 Severity:  normal         |   Resolution:       
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by lukeplant):

 You can now use the 'context_processors' argument to generic views to have
 dynamic 'extra_context'.  As for lookup_kwargs, you can easily write a
 wrapper function that filters the QuerySet as required then passes it on
 to the generic view function, and I think this approach, which is so easy,
 is better than trying to cram everything to the generic views and further
 complicating their interface.
 
 I think this bug and #779 can be closed now.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/667>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to