Ensure correct CSV headers for non-English
If we pass non-ASCII strings to create_csv_response, it will call unicode() on it, and fail with UnicodeDecodeError. So pass Unicode strings, or ASCII-only bytestrings for the headers.
Showing
Please
register
or
sign in
to comment