Fix download PDF to download CSV and double quote all the names.
--- a/project/scipycon/registration/views.py Thu Dec 09 19:33:57 2010 +0530
+++ b/project/scipycon/registration/views.py Thu Dec 09 19:34:39 2010 +0530
@@ -380,7 +380,7 @@
regs = Registration.objects.all()
for reg in regs:
row = []
- row.append(reg.registrant.get_full_name())
+ row.append('"%"' % reg.registrant.get_full_name())
row.append(reg.city)
payment, create = reg.registrant.payment_set.get_or_create(
user=reg.registrant, scope=reg.scope)
--- a/project/templates/registration/regstats.html Thu Dec 09 19:33:57 2010 +0530
+++ b/project/templates/registration/regstats.html Thu Dec 09 19:34:39 2010 +0530
@@ -39,7 +39,7 @@
</table>
<br/><br/><br/>
-<strong>To download PDF
+<strong>To download CSV
<a href="{% url scipycon_regstats_download params.scope %}">here</a></strong>
{% endblock content %}