Traceback (most recent call last):



 "/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py", line 41, in inner

response = get_response(request)



 "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 249, in _legacy_get_response


response = self._get_response(request)


 "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 217, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 215, in _get_response

response = response.render()


 "/usr/local/lib/python3.5/dist-packages/django/template/response.py", line 107, in render

self.content = self.rendered_content


 "/usr/local/lib/python3.5/dist-packages/django/template/response.py", line 84, in rendered_content

content = template.render(context, self._request)


 "/usr/local/lib/python3.5/dist-packages/django/template/backends/django.py", line 66, in render

return self.template.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 207, in render

return self._render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 199, in _render

return self.nodelist.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/loader_tags.py", line 177, in render

return compiled_parent._render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 199, in _render

return self.nodelist.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/loader_tags.py", line 177, in render

return compiled_parent._render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 199, in _render

return self.nodelist.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/loader_tags.py", line 72, in render

result = block.nodelist.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/loader_tags.py", line 72, in render

result = block.nodelist.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/library.py", line 245, in render

return t.render(new_context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 209, in render

return self._render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 199, in _render

return self.nodelist.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render

bit = node.render_annotated(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated

return self.render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/library.py", line 203, in render

output = self.func(*resolved_args, **resolved_kwargs)


 "/opt/paperless/src/documents/templatetags/hacks.py", line 41, in change_list_results

return get_template(path).render(context)


 "/usr/local/lib/python3.5/dist-packages/django/template/backends/django.py", line 64, in render

context = make_context(context, request, autoescape=self.backend.engine.autoescape)


 "/usr/local/lib/python3.5/dist-packages/django/template/context.py", line 287, in make_context

raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__)
TypeError: context must be a dict rather than RequestContext.

Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: astype() takes no keyword arguments
