Closed Bishwas-py closed 4 months ago
Allow receiving HTTPResponse:
@djapify @ensure_csrf_cookie @csrf_exempt def assign_csrf_token(request, response: HttpResponse) -> Any: # ^ should be allowed return response
It is now possible after the following commits:
Allow receiving HTTPResponse:![AttributeError: type object 'HttpResponse' has no attribute 'schema'](https://github.com/Bishwas-py/djapy/assets/42182303/b2d280d9-d66d-4bb9-9a54-5a0c5a890ad9)