From a914aa2c68ea9b734510a210503b85d1f3869581 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 10 May 2016 10:24:31 +0200 Subject: [PATCH] csv export: comma-seperated lists (instead of semicolon) --- contact/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contact/admin.py b/contact/admin.py index 0a0aaa0..0a96792 100644 --- a/contact/admin.py +++ b/contact/admin.py @@ -160,7 +160,7 @@ def extract_view(request, form_tag, extract_type_slug): if isinstance(record[key], bool): record[key] = 'tak' if record[key] else 'nie' if isinstance(record[key], (list, tuple)): - record[key] = '; '.join(record[key]) + record[key] = ', '.join(record[key]) csv_writer.writerow([record[key] for key in keys]) csv_writer.writerow([]) -- 2.20.1