Opened 9 months ago
Last modified 6 weeks ago
#36321 closed New feature
Use argparse suggest_on_error on Python 3.14+ — at Initial Version
| Reported by: | Adam Johnson | Owned by: | |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | dev |
| Severity: | Normal | Keywords: | 6.1 |
| Cc: | Ahmed Ibrahim | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
https://docs.python.org/3.14/library/argparse.html#suggest-on-error
This new feature provides friendly feedback when mistyping an argument. We can activate for all argparse Parsers (mostly management commands) when Django supports Python 3.14.
Note:
See TracTickets
for help on using tickets.