stephenmcd/django-forms-builder — pull request #71 by smacker (2012-05-01 22:02:51+00:00)
Title: make fewer sql queries in save entry

I was surprised again, that it does about 70 queries while save.

So, I changed it a little bit. Now it's only 36 queries (still too much, but anyway).

For editing it's still bad, actually, even worse +1 query. But I think, that the general use case is creating, so i did "values_list" it's cheaper than full fetch.