#15778: Command createsuperuser fails under some system user names
-------------------------------------+-------------------------------------
Reporter: Hynek | Owner: nobody
Cernoch <hynek@…> | Status: new
Type: Bug | Component: contrib.auth
Milestone: 1.3 | Severity: Normal
Version: 1.3 | Keywords:
Resolution: | Has patch: 1
Triage Stage: Accepted | Needs tests: 1
Needs documentation: 0 |
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Comment (by Hynek Cernoch <hynek@…>):
Yes, but that was a somewhat different situation. \\
I would prefer the original proposed solution to strip international
characters from the ''default_username'', because an evantually conversion
to unicode would only postpone the problem for later. (Convert something
correctly and display that correctly, what would be finally must
rejected?)
I thing that a simple solution can be incorporaded in any bugfix release,
it need not to wait for Django 1.4
(I know a better solution with striping the accents, not dropping
characters, but it is not important now at all, imho. The encoding is not
'utf-8'. It is sys.getfilesystemencoding(), usually 'mbcs', which is a
generic name for differnent windows default encodings of the actual
installation.)
--
Ticket URL: <http://code.djangoproject.com/ticket/15778#comment:4>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.