Re: [Django] #34518: "random" template filter crashes on an empty list. (was: `random` and `first`/`last` filters have different behavior on empty lists.)

3 views
Skip to first unread message

Django

unread,
Apr 26, 2023, 5:47:23 AM4/26/23
to django-...@googlegroups.com
#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
------------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

* keywords: random, first, last, list, templates => random templates
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/34518#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages