[Answered ]-How to set windows-1251 in csv file generated in django 24 December 2023 by thecoderscamp.com 2π β ... response.write(t.render(c).encode('cp1251')) return response π€San4ez [Answered ]-Django admin site Source:stackexchange.com