#27974: Degraded performance when rendering ChoiceField with lots of options and
DEBUG=True
--------------------------------------+------------------------------------
     Reporter:  karyon                |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Template system       |                  Version:  1.11
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by karyon):

 i'm not a project member, but yes you probably can.

 from a discussion on #django-dev:


  20:34:30 - apollo13: this added the initial caching:
 
https://github.com/django/django/commit/a391b17ad24bc5f255a3928c23c158c79004c656
 […]
  20:38:14 - apollo13: first step would be running the tests with my patch
 applied and then thinking about what that means for ifchanged
  20:38:34 - apollo13: especially if you get more creative here:
 
https://github.com/django/django/commit/a391b17ad24bc5f255a3928c23c158c79004c656
 #diff-25712b0bc568d3a2bb139891f294872dR207 and put another
 include/ifchanged outside the loop
  20:39:24 - apollo13: or maybe also adding a second include inside the
 loop

--
Ticket URL: <https://code.djangoproject.com/ticket/27974#comment:6>
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/064.53ebeba9a87e8adf7a97161f832dd671%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to