#34518: "random" template filter crashes on an empty list.
-------------------------------------+-------------------------------------
     Reporter:  Алексей Поклонский   |                    Owner:  David
                                     |  Sanders
         Type:  Bug                  |                   Status:  closed
    Component:  Template system      |                  Version:  4.0
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  random templates     |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7d0e56620882c207998a41ac07ec5da572045b31" 7d0e566]:
 {{{
 #!CommitTicketReference repository=""
 revision="7d0e56620882c207998a41ac07ec5da572045b31"
 Fixed #34518 -- Fixed crash of random() template filter with an empty
 list.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34518#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187bd801029-c649bf97-9c8c-422f-aaba-bafe5ac12bc3-000000%40eu-central-1.amazonses.com.

Reply via email to