#26810: DATA_UPLOAD_MAX_NUMBER_FIELDS not taken into account in admin mass 
actions
-------------------------------+--------------------------------------
     Reporter:  Adys           |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Uncategorized  |                  Version:  1.10
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by cristianocca):

 {{{
 Allow a "select everything" that does not use individual POST fields
 (hard, but best experience)
 }}}

 Makes the most sense to me.

 I'm still not sure why is it currently an issue, considering the page size
 should be something between 100 and 1000, above this django will start to
 die anyways trying to fetch everything into memory and then the for loop
 on the template rendering, so the initial post shouldn't really be getting
 an error unless you use an incredibly high page size.

 Does the issue come from the second post after the confirmation page? If
 this is the case, I think that this page is really bad when the "select
 all" option is used. You shouldn't be loading the whole table into memory
 and then render it on the preview page, it will get even worse with
 cascade deletes and related objects. So I really think the "select all"
 behaviour should be improved to use a bulk delete operation and do not
 send every selected ID on a post request, neither render everything on the
 template.

--
Ticket URL: <https://code.djangoproject.com/ticket/26810#comment:7>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.9b17fdc98c893da7acc2669a31d4edc4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to