Re: Passing extra context data to class-based generic views?

2011-06-09 Thread Greg
I've created a reusable view which allows for an extra_context argument, see https://github.com/gregplaysguitar/django-baseclasses/blob/master/baseclasses/views.py +1 on this functionality being added to django itself though. -- You received this message because you are subscribed to the

Re: Passing extra context data to class-based generic views?

2011-04-06 Thread Russell Keith-Magee
On Thu, Apr 7, 2011 at 12:02 AM, David Chandek-Stark wrote: > Function-based generic views provided an "extra_context" keyword argument to > add variables to the template context.  It appears that under the initial > implementation of class-based generic views in Django

Passing extra context data to class-based generic views?

2011-04-06 Thread David Chandek-Stark
Function-based generic views provided an "extra_context" keyword argument to add variables to the template context. It appears that under the initial implementation of class-based generic views in Django 1.3, there are two major differences: 1. To add extra context, you have to subclass and