Ticket #16642: TemplateView.diff

File TemplateView.diff, 492 bytes (added by martinogden, 13 years ago)
  • django/views/generic/base.py

     
    116116    A view that renders a template.
    117117    """
    118118    def get_context_data(self, **kwargs):
    119         return {
    120             'params': kwargs
    121         }
     119        return kwargs
    122120
    123121    def get(self, request, *args, **kwargs):
    124122        context = self.get_context_data(**kwargs)
Back to Top