On 8 jan, 07:04, Vicky <vicky87....@gmail.com> wrote: > I using the django to generate xml and to fetch datas from database. > When i run it the response is too slow. it takes nearly 4sec to load > the page. So what can i do to make my program more efficient. Plse > tell me some things to avoid so that it becomes faster
First make sure you set DEBUG=False in your settings. Then profile - it's the only way to know where the bottlenecks are. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---