Hello, have tryed to use the formfield_for_foreignkey() and formfield_for_manytomany() in the admin.py file. In fact, I have reduced the reponse time (around 10 sec. less then before) by replacing extra = 2 by extra=0 in my admin.StackedInline objects. It still taking 20-24 seconds to edit an object in the admin interface. The 2 methods mention on top did not help to reduce the time. I don't know what else to try now I'm stuck. Any one has a subjection?
Regards, VB 2012/3/13 Martynas RMSMR <msklizman...@gmail.com> > Running django on windows is waste of time. > > In fact, we are phasing out closed source products and they will be > eventually merged into core. > > M > From: Virginia > Sent: 13/03/2012 13:58 > To: Django users > Subject: Django is very slow on windows server 2003, mssql database > Good morning everyone, > > I have a web site that was develop in django on a windows 2003 server > and a mssql database. Latetly it seems that the web site is going > slower and slower. We add datas but not that much to slow it down so > much. I run it on my dev environnement with cProfile and looking at > the stats (p.sort_stats('time').print_stats(10) I saw that the first > line is > > ncalls tottime percall cumtime percall > filename:lineno(function) > 1 85.085 85.085 85.085 85.085 {nt.spawnve} > > I would like to know what is this file and why is it taking so long. > > Regards, > VB > > -- > 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. > -- 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.