I'm trying to use modelformset for my model using specified form.
Everything works well unless i try to save forms - ale changes are
saved, but for 22 forms django generates 91 queries (some of them are
for auth, other parts etc - but this number should not exceed 30
counting one query for each form). Nevertheless, i got 22 queries like

SELECT (1) AS "a" FROM "finances"."gates_approvals" WHERE
("finances"."gates_approvals"."gate_approval_id" = 45 AND NOT
("finances"."gates_approvals"."gate_approval_id" = 45 ))

which is totally useless. Did anyone meet such a strange behaviour?

--~--~---------~--~----~------------~-------~--~----~
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