#22525 closed Cleanup/optimization (wontfix)
syncdb should allow "y" or "n" when asking to create a user
Reported by: | Gumnos | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Normal | Keywords: | new user, yes, no |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | yes |
Description
Currently the code requires that you type out "yes" or "no" in full when a simple "y" or "n" would do.
Attachments (1)
Change History (4)
by , 11 years ago
Attachment: | first_letter.diff added |
---|
comment:1 by , 11 years ago
Also available in GitHub as https://github.com/Gumnos/django/compare/django:master...master
comment:2 by , 11 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Thanks for the suggestion, but there are other places where yes/no are used so I think it's okay to keep things as they are. Particularly when deleting data, it seems safer to require three characters.
comment:3 by , 11 years ago
While I can see keeping a full "yes" vs. "no" for more dangerous operations such as deletion, it just gets in the way when answering more routine questions. I'd be glad to search for other locations where yes/no is answered on input, and modify similarly where there is no risk of data-loss if consistency is an issue.
A patch to relax the typing requirements for adding a user via syncdb