#8408: add a new meta option: don't do count(*) in admin
-----------------------------+----------------------------------------------
 Reporter:  lidaobing        |       Owner:  nobody    
   Status:  new              |   Milestone:            
Component:  Admin interface  |     Version:  0.96      
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 Hello,

 everytime when I use Admin to view a table, the Admin count the rows in
 the table. if the database is mysql+innodb, this step is very slow, how
 about add an option in Meta to prevent this, such as

 {{{
 #!python
 class A(models.Model):
     class Meta:
         do_not_count = True
 }}}

 thanks

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8408>
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