#34518: `random` and `first`/`last` filters have different behavior on empty
lists.
-------------------------------------+-------------------------------------
Reporter: Алексей Поклонский | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: 4.0
Severity: Normal | Resolution:
Keywords: random, first, | Triage Stage:
last, list, templates | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Алексей Поклонский):
In addition, it is worth to underline that in
[https://docs.djangoproject.com/en/4.0/ref/templates/builtins/#random
official documentation] there is no any notes about raising an error in
`random` tag description.
--
Ticket URL: <https://code.djangoproject.com/ticket/34518#comment:1>
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/01070187bcf1ff6a-1d4f0e38-6797-4e57-ac15-111a6df57359-000000%40eu-central-1.amazonses.com.