Hi,
I'm getting 20-30 seconds delay when trying to bind request.POST data
to form.
-----
CompanyFormset = modelformset_factory(Company,
form=EditCompanyForm, extra=0)
if request.method == 'POST':
formset = CompanyFormset(request.POST, request.FILES)
if formset.is_valid():
formset.save()
-------
It just happens on one server, and on this line: "formset =
CompanyFormset(request.POST, request.FILES)". I have tried without
request.FILES and without multipart data and always getting the same
delay. I have also tried runing development server and mod_wsgi and
results are the same.
Delay only happens when binding request data, if I just try to save
formset everything is fast as it should be. Also, on my development
laptop there is no delay whatsoever. On the same server I have other
sites and everything works well so I just have no idea where else I
could look for solution.
Does anyone have any idea what can cause such behavior?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.