Opened 20 months ago
Closed 20 months 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.
Attachments (1)
Change History (2)
by , 20 months ago
Attachment: | Screenshot from 2023-04-12 02-01-13.png added |
---|
comment:1 by , 20 months ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This seems to me like a duicate of #33034