#36519: The center template filter is inconsistent when adding an odd amount of
padding
---------------------------------+------------------------------------
Reporter: Lily Acorn | Owner: (none)
Type: Bug | Status: new
Component: Template system | Version: 5.2
Severity: Normal | Resolution:
Keywords: center filter | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Changes (by Carlton Gibson):
* stage: Unreviewed => Accepted
Comment:
This seems right to me. The use case for these filters is aligning columns
in plain text output. The inconsistency here is contrary to that.
(I realise in my own usage left/right are much more common than center,
and even that is quite rare, which might account for this not being caught
before.)
--
Ticket URL: <https://code.djangoproject.com/ticket/36519#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 visit
https://groups.google.com/d/msgid/django-updates/0107019833655772-90bfac1f-ae53-46c6-ab0e-4a0ad8c29817-000000%40eu-central-1.amazonses.com.