From e89c6505dde5dfd2b3c6576d5d45c74b75e63397 Mon Sep 17 00:00:00 2001
From: Madhusudan.C.S
Date: Thu, 9 Dec 2010 20:08:25 +0530
Subject: Add the string control character for CSV full name field.
---
project/scipycon/registration/views.py | 2 +-
project/templates/registration/regstats.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/project/scipycon/registration/views.py b/project/scipycon/registration/views.py
index 1ffa881..ec60122 100644
--- a/project/scipycon/registration/views.py
+++ b/project/scipycon/registration/views.py
@@ -430,7 +430,7 @@ def regstats_download(request, scope):
wifi, create = reg.registrant.wifi_set.get_or_create(
user=reg.registrant, scope=reg.scope)
- row.append('"%"' % reg.registrant.get_full_name())
+ row.append('"%s"' % reg.registrant.get_full_name())
row.append(acco.sex)
row.append(reg.city)
row.append('Yes' if payment.confirmed else 'No')
diff --git a/project/templates/registration/regstats.html b/project/templates/registration/regstats.html
index 1e3a141..a0b3786 100644
--- a/project/templates/registration/regstats.html
+++ b/project/templates/registration/regstats.html
@@ -39,7 +39,7 @@
-To download CSV
+To download CSV Click
here
{% endblock content %}
--
cgit