#36519: The center template filter is inconsistent when adding an odd amount of
padding
-------------------------------------+-------------------------------------
     Reporter:  Lily Acorn           |                    Owner:  Mridul
         Type:  Bug                  |                   Status:  closed
    Component:  Template system      |                  Version:  5.2
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  center filter        |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by nessita <124304+nessita@…>):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"d4dd3e503c88db92f254769a64b2fcd4c572c7dc" d4dd3e50]:
 {{{#!CommitTicketReference repository=""
 revision="d4dd3e503c88db92f254769a64b2fcd4c572c7dc"
 Fixed #36519 -- Made center template filter consistent for even/odd
 padding.

 Refactored `center` template filter to match f-string behaviour,
 producing consistent padding for both odd and even fillings.

 Thanks Lily Acorn for the report and Natalia Bidart for the review.

 Co-authored-by: Lily Acorn <[email protected]>
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36519#comment:15>
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/01070198528da414-375772f4-1744-4f2e-b508-0388f49c4522-000000%40eu-central-1.amazonses.com.

Reply via email to