Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

first_letter.diff (819 bytes ) - added by Gumnos 10 years ago.
A patch to relax the typing requirements for adding a user via syncdb

Download all attachments as: .zip

Change History (4)

by Gumnos, 10 years ago

Attachment: first_letter.diff added

A patch to relax the typing requirements for adding a user via syncdb

comment:2 by Tim Graham, 10 years ago

Resolution: wontfix
Status: newclosed

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 Gumnos, 10 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.

Note: See TracTickets for help on using tickets.
Back to Top