James Bennett wrote:
> On Tue, Nov 3, 2009 at 1:17 AM, Low Kian Seong <django....@gmail.com> wrote:
>> There is a query page where the start_date and end_date is being sent.
>> Then the do_defender_advanced will process it and generate an Excel
>> using the template.
> 
> One other thing is that the Django template system isn't really
> optimized for presenting huge data sets like this; since you seem to
> want an Excel spreadsheet, consider using Python's 'csv' module to
> generate the data as a CSV file (which Excel can open as a
> spreadsheet).

...or you could just use xlwt and deliver the real deal ;-)

http://www.python-excel.org/

That said, I'd be surprised if the templating is the problem here, it'll 
be the interaction with the database that's taking the time...

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to