fnp
/
edumed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
30574b9
)
csv export: comma-seperated lists (instead of semicolon)
author
Jan Szejko
<jan.szejko@gmail.com>
Tue, 10 May 2016 08:24:31 +0000
(10:24 +0200)
committer
Jan Szejko
<jan.szejko@gmail.com>
Tue, 10 May 2016 08:24:31 +0000
(10:24 +0200)
contact/admin.py
patch
|
blob
|
history
diff --git
a/contact/admin.py
b/contact/admin.py
index
0a0aaa0
..
0a96792
100644
(file)
--- 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([])