| 7 | | Currently, the workaround is to call TemplateResponse.get(request, *args, **kwargs), but users should really be calling what they mean to do instead: super().render_to_response() |
| | 7 | Currently, the workaround is to call |
| | 8 | {{{ |
| | 9 | # note usage of self in the method call |
| | 10 | TemplateResponse.get(self, request, *args, **kwargs) |
| | 11 | }}} |
| | 12 | |
| | 13 | However, users should really be calling what they mean to do instead: |
| | 14 | |
| | 15 | {{{ |
| | 16 | super().render_to_response() |
| | 17 | }}} |
| | 18 | |
| | 19 | Then, then can still resolve {{ view }} in the template to add more variables. |