Opened 3 years ago

Closed 3 years ago

#33034 closed Cleanup/optimization (wontfix)

Change % to f-strings in django documentation

Reported by: Athul Muralidhar Owned by: Athul Muralidhar
Component: Documentation Version: 3.2
Severity: Normal Keywords: documentation
Cc: Athul Muralidhar Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As a frequent reader (and lover) of the django documentation, I was just wondering why we are still sticking around with % in the strings returned by some class methods.

One example is here:
https://docs.djangoproject.com/en/3.1/topics/db/examples/many_to_one/ NB the __str__ method does not use f-strings

Note:

  • This maybe a minor issue and any technical or other considerations that prevent the above change should automatically lead to the closure of this ticket :)

Change History (2)

comment:1 by Athul Muralidhar, 3 years ago

Cc: Athul Muralidhar added
Owner: changed from nobody to Athul Muralidhar
Status: newassigned

comment:2 by Mariusz Felisiak, 3 years ago

Easy pickings: unset
Resolution: wontfix
Status: assignedclosed
UI/UX: unset

Thanks for the ticket, however in discussion on the mailing list related to the ticket #29988 we agreed that there is no need to make any bulk updates related with f-strings. Also, I don't see a problem with %-formatting.

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