Opened 2 years ago

Closed 2 years ago

#34485 closed Cleanup/optimization (duplicate)

Update examples by using f-strings instead of %

Reported by: Pravesh Aryal Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords: documentation,
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The page https://docs.djangoproject.com/en/4.2/topics/db/examples/one_to_one/ has examples with str methods using older python % instead of newer and pythonic f-strings.

Change History (2)

by Pravesh Aryal, 2 years ago

comment:1 by David Smith, 2 years ago

Resolution: duplicate
Status: newclosed

This seems to me like a duicate of #33034

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