#35582: Refactors error messages in the `_dec` method to use f-strings instead of
the older `%` formatting method.
-------------------------------------+-------------------------------------
Reporter: Siama | Owner: Siama
Type: | Status: assigned
Cleanup/optimization |
Component: Utilities | Version: 5.1
Severity: Normal | Resolution:
Keywords: f-strings, code | Triage Stage:
readability | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Siama):
* summary:
Refactors error messages in the `_dec` method to use f-strings instead
of the older `%` formatting method. F-strings are more readable and
modern
=>
Refactors error messages in the `_dec` method to use f-strings instead
of the older `%` formatting method.
--
Ticket URL: <
https://code.djangoproject.com/ticket/35582#comment:1>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.