I have a view that returns an image (I\'m aware that it might be a bad practice. But it\'s necessary in my case).
Using normal Django HttpResponse I just return: