Re: Request Timed Out When Generating Huge Data

2018-04-02 Thread tango ward
I tried loading the site locally to see how long will it take to load a record of 1800 students. It took about a minute and a half locally. The request timed out problem occurs when I try to generate a CSV report and PDF. Both result to timed out even locally. On Tue, Apr 3, 2018 at 8:12 AM,

Re: Request Timed Out When Generating Huge Data

2018-04-02 Thread tango ward
Hi, SLR. At the moment, the largest number of students we have is 2000 in one campus. I haven't played around with the code but when I check it we're using a get_queryset function to get the data and filter it using Q. Then display it using get_context_data Code: class

Re: Request Timed Out When Generating Huge Data

2018-04-01 Thread Babatunde Akinyanmi
Hi, How many records are we talking about? What code are you using to fetch the records? In other words, add more information so that it's easier to troubleshoot On Mon, 2 Apr 2018, 02:27 tango ward, wrote: > > Good day, > > I need suggestions on how to approach this

Request Timed Out When Generating Huge Data

2018-04-01 Thread tango ward
Good day, I need suggestions on how to approach this problem. I am working on a task that needs to generate the list students per school. When the school has larger number of students, I am getting a request timed out error. I can filter the school per campus to lessen the number of students but