#31582: Django template engine render pre-fetches data even when iterator() is 
used
---------------------------------+------------------------------------
     Reporter:  Sümer Cip        |                    Owner:  nobody
         Type:  New feature      |                   Status:  new
    Component:  Template system  |                  Version:  3.0
     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 Carlton Gibson):

 Ah, I didn't properly read this bit:

 > context is pointing to the item which is the model itself! Even we fix
 above len() call somehow, this will hurt us again.

 There's an effort to allow a generator based approach to template
 rendering in #13910. There's a PR for that which got so far but needs
 pushing over the line.
 I don't know if that would solve second issues here...?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31582#comment:9>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.82b713cab0f04026e86ce2bfc1a51c5b%40djangoproject.com.

Reply via email to