#16017: createsuperuser fails if Python can't detect default locale -------------------------------------+------------------------------------- Reporter: prestontimmons | Owner: nobody Type: Bug | Status: new Component: Core (Management | Version: 1.4 commands) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: dceu2011 | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 1 Needs tests: 0 | UI/UX: 0 Easy pickings: 1 | -------------------------------------+------------------------------------- Changes (by nlsp):
* cc: niels.poppe@… (removed) Comment: Replying to [comment:34 mrab54@…]: > Ran into this on FreeBSD 8.2. > > Workaround: > [ platform specific shell commands ] > I don't see why this is required. Doesn't Django default to UTF-8? Or default to something? The whole point is that getting the “username” will **never** be solved in a platform independent way. Discussion about whether or not boxes are “misconfigured” when this happens are pointless. In my view is an error making Django depend on this. One fix is to not try default to a username, another fix is to be more flexible in recovering from possible decoding errors. Both are better than doing nothing. Or doing what is currently done: starting up a debate on how a ticket should be phrased and then doing nothing again. Good luck! -- Ticket URL: <https://code.djangoproject.com/ticket/16017#comment:35> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.