I have this view that returns csv data
def get_newsletters_email(request): if request.user.is_staff: df = pd.DataFrame(list(NewsletterSubscription.obj