Comment (by David Sanders):
Thanks for the report 👍
I think random should behave gracefully.
--
Ticket URL: <https://code.djangoproject.com/ticket/34518#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Aman Pandey
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34518#comment:4>
* easy: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34518#comment:5>
* owner: Aman Pandey => David Sanders
* has_patch: 0 => 1
Comment:
Sorry Aman I just submitted a PR… I didn't see you take ownership as my
window was out-of-date.
--
Ticket URL: <https://code.djangoproject.com/ticket/34518#comment:6>
* has_patch: 1 => 0
* easy: 1 => 0
Comment:
It's totally fine : )
--
Ticket URL: <https://code.djangoproject.com/ticket/34518#comment:7>
* has_patch: 0 => 1
* easy: 0 => 1
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34518#comment:8>
* 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>