Ha
On May 10, 2013 12:19 PM, "crccheck" <notifications@github.com> wrote:

> In armstrong/core/arm_wells/views.py:
>
> > @@ -41,3 +41,19 @@ def get_well(self):
> >          if well:
> >              well.merge_with(super(QuerySetBackedWellView, self).get_queryset())
> >          return well
> > +
> > +    def get_context_data(self, **kwargs):
> > +        queryset = self.get_queryset()
> > +        # manually build context because in Django 1.4, `TemplateView` does not
> > +        # build it properly (bug #16074, see:
> > +        # https://code.djangoproject.com/ticket/16074). This function can be
> > +        # simplified once Django 1.4 support is dropped.
> > +        context = SimpleWellView.get_context_data(self,
> > +            object_list=queryset,
> > +            **kwargs
> > +        )
> > +        context.update(MultipleObjectMixin.get_context_data(self,
> > +            object_list=queryset,
> > +            **kwargs
>
> so I forgot to add a trailing comma here, but I think I subconsciously did
> that on purpose since you can't/shouldn't put things after **kwargs
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/armstrong/armstrong.core.arm_wells/pull/29/files#r4177427>
> .
>