Re: This section is converting database table to excel file

2011-04-29 Thread Od-Erdene Ch
thank you very much for your advice, but unfortunately this method taking more than 10 minutes too. if there's a any better way please. response = HttpResponse(result.read(), mimetype='application/ms-excel') response['Content-Disposition'] = 'attachment; filename=Car_detai

RE: This section is converting database table to excel file

2011-04-28 Thread Sells, Fred
Since Excel will import a csv file, why not just write a csv file. In mysql, while ugly, you could shell down and use the mysql command line options to export a query to csv. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Od-Erdene Ch Sent: Thursday,