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
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
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
3 matches
Mail list logo