#20021: create)superuse fails on Windows XP/Python 3.2
-------------------------------+--------------------------
Reporter: tim.needham@… | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: 1.5
Severity: Normal | Keywords: enter yes no
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------
Hi,
You can't seem to create a new project 1.5, on Windows XP (I've no
choice!) running Python 3.2....
The trouble seems to be here:
\contrib\auth\management\__init__.py
The "create_superuser" function depends on input()... however, it's
suffixed with an odd character (new line or similar?) that doesn't to
equate to "no" or "yes" and so goes in an infinite loop. This project
creation.
Throwing a .rstrip() onto the end of input() seems to fix it!
Many thanks
Tim
--
Ticket URL: <https://code.djangoproject.com/ticket/20021>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.