#34485: Update examples by using f-strings instead of %
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
krishnassecla |
Type: | Status: new
Cleanup/optimization |
Component: | Version: dev
Documentation |
Severity: Normal | Keywords: documentation,
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/34485>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018771f5c7f0-695d1b74-2474-4fb6-8715-c504962c4285-000000%40eu-central-1.amazonses.com.