#5895: inline-edit performance problem after changeset 6655
-------------------------------------------------+--------------------------
   Reporter:  Karen Tracey <[EMAIL PROTECTED]>  |                Owner:  nobody 
        
     Status:  new                                |            Component:  
django.newforms
    Version:  newforms-admin                     |           Resolution:        
         
   Keywords:                                     |                Stage:  
Unreviewed     
  Has_patch:  1                                  |           Needs_docs:  0     
         
Needs_tests:  0                                  |   Needs_better_patch:  0     
         
-------------------------------------------------+--------------------------
Comment (by brosner):

 Yeah, I have also come across this in my newforms-admin branch.  I
 originally did exactly what Karen did in the patch, but Malcolm brings up
 a good point and that is the correct fix.  However, the correct workaround
 is to do ```self.get_queryset().count()```.  It also needs to be applied
 to ```save_existing_objects``` where it does a check for no objects in the
 database.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5895#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to