#18979: PermWrapper + template "if in" interaction
-------------------------------------+-------------------------------------
     Reporter:  akaariai             |                    Owner:  akaariai
         Type:  Bug                  |                   Status:  closed
    Component:  Template system      |                  Version:  1.4
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
    Has patch:  0                    |  checkin
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Anssi Kääriäinen <akaariai@…>):

 In [changeset:"1f537335d9ff659cb0996d6523ad8ab7b3c49f4e"]:
 {{{
 #!CommitTicketReference repository=""
 revision="1f537335d9ff659cb0996d6523ad8ab7b3c49f4e"
 [1.4.x] Fixed #18979 -- Avoid endless loop caused by "val in
 PermLookupDict"

 Fixed by defining __iter__ which raises TypeError. This was done to
 PermWrapper earlier.

 Backport of 50d573d2c0b3e17cbf1aa240b03b52e4ad0c32cd
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18979#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to