#34518: "random" template filter crashes on an empty list.
------------------------------------+------------------------------------
Reporter: Алексей Поклонский | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: 4.0
Severity: Normal | Resolution:
Keywords: random templates | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------------+------------------------------------
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.
--
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/01070187bcf70edf-e10e3385-02ba-48af-b610-4ec118b6a1dd-000000%40eu-central-1.amazonses.com.