[Django] #22525: syncdb should allow "y" or "n" when asking to create a user

9 views
Skip to first unread message

Django

unread,
Apr 26, 2014, 5:59:49 PM4/26/14
to django-...@googlegroups.com
#22525: syncdb should allow "y" or "n" when asking to create a user
--------------------------------------+-------------------------------
Reporter: Gumnos | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords: new user, yes, no
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 1
--------------------------------------+-------------------------------
Currently the code requires that you type out "yes" or "no" in full when a
simple "y" or "n" would do.

--
Ticket URL: <https://code.djangoproject.com/ticket/22525>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 26, 2014, 8:45:52 PM4/26/14
to django-...@googlegroups.com
#22525: syncdb should allow "y" or "n" when asking to create a user
-------------------------------------+-------------------------------------
Reporter: Gumnos | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: master
Component: Uncategorized | Resolution:
Severity: Normal | Triage Stage:
Keywords: new user, yes, no | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Gumnos):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

Also available in GitHub as
https://github.com/Gumnos/django/compare/django:master...master

--
Ticket URL: <https://code.djangoproject.com/ticket/22525#comment:1>

Django

unread,
Apr 28, 2014, 7:23:09 PM4/28/14
to django-...@googlegroups.com
#22525: syncdb should allow "y" or "n" when asking to create a user
-------------------------------------+-------------------------------------
Reporter: Gumnos | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version: master
Component: Uncategorized | Resolution: wontfix

Severity: Normal | Triage Stage:
Keywords: new user, yes, no | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by timo):

* status: new => closed
* resolution: => wontfix


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/22525#comment:2>

Django

unread,
Apr 28, 2014, 9:22:17 PM4/28/14
to django-...@googlegroups.com
#22525: syncdb should allow "y" or "n" when asking to create a user
-------------------------------------+-------------------------------------
Reporter: Gumnos | Owner: nobody

Type: | Status: closed
Cleanup/optimization | Version: master
Component: Uncategorized | Resolution: wontfix
Severity: Normal | Triage Stage:
Keywords: new user, yes, no | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------

Comment (by Gumnos):

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/22525#comment:3>

Reply all
Reply to author
Forward
0 new messages