diff options
author | Madhusudan.C.S | 2010-12-09 20:08:25 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2010-12-09 20:08:25 +0530 |
commit | e89c6505dde5dfd2b3c6576d5d45c74b75e63397 (patch) | |
tree | 8dec65eecc01ba81c6dc96bb21ba38d34e8c1183 | |
parent | 328d05e72575c7825f6801457da2bedd886f5687 (diff) | |
download | scipycon-e89c6505dde5dfd2b3c6576d5d45c74b75e63397.tar.gz scipycon-e89c6505dde5dfd2b3c6576d5d45c74b75e63397.tar.bz2 scipycon-e89c6505dde5dfd2b3c6576d5d45c74b75e63397.zip |
Add the string control character for CSV full name field.
-rw-r--r-- | project/scipycon/registration/views.py | 2 | ||||
-rw-r--r-- | 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 @@ </table> <br/><br/><br/> -<strong>To download CSV +<strong>To download CSV Click <a href="{% url scipycon_regstats_download params.scope %}">here</a></strong> {% endblock content %} |