def get(self, request):
    return Response({key: value for (key, value) in request.session.items()})
def get(self, request):
    return Response({key: value for (key, value) in request.session.items()})