Ticket #16642: TemplateView.diff
File TemplateView.diff, 492 bytes (added by , 13 years ago) |
---|
-
django/views/generic/base.py
116 116 A view that renders a template. 117 117 """ 118 118 def get_context_data(self, **kwargs): 119 return { 120 'params': kwargs 121 } 119 return kwargs 122 120 123 121 def get(self, request, *args, **kwargs): 124 122 context = self.get_context_data(**kwargs)