# HG changeset patch # User Madhusudan.C.S # Date 1291903479 -19800 # Node ID 4a07363689b5cb1b3811d1c16db77771288f70f8 # Parent 88cb9f42880cecef9c166c20c7c8ea32c99da1e9 Fix download PDF to download CSV and double quote all the names. diff -r 88cb9f42880c -r 4a07363689b5 project/scipycon/registration/views.py --- 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) diff -r 88cb9f42880c -r 4a07363689b5 project/templates/registration/regstats.html --- 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 @@


-To download PDF +To download CSV here {% endblock content %}