I would like something similar to the string formatting from the standard library.
‘%’ Percentage. Multiplies the number
by 100 and displays in fixed (‘f’)
format, followed by a percent sign.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The newness of
string.Formatter()means that Django is not likely to support it built-in. Either write or find a template tag or filter that implements it.