Opened 6 years ago

Last modified 6 years ago

#28810 closed Cleanup/optimization

Use the Python 3-esque str.format logging formatting style over '%' — at Initial Version

Reported by: Chris Lamb Owned by: nobody
Component: Core (Other) Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

We currently use the %(foo)s style in Django and in docs. This "smells" quite Python 2.x when there is a str.format variety that uses, eg. {foo}.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top