#19725: `createsuperuser` command fails with custom User model
------------------------------+--------------------------------------
     Reporter:  michisu       |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  contrib.auth  |                  Version:  1.5-beta-1
     Severity:  Normal        |               Resolution:
     Keywords:                |             Triage Stage:  Unreviewed
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+--------------------------------------

Comment (by michisu):

 I ran the command with the `--traceback` option:

 {{{
 $ python manage.py createsuperuser --traceback
 Traceback (most recent call last):
   File "/Users/michisu/VirtualEnvs/ppf/lib/python2.7/site-
 packages/django/core/management/base.py", line 222, in run_from_argv
     self.execute(*args, **options.__dict__)
   File "/Users/michisu/VirtualEnvs/ppf/lib/python2.7/site-
 packages/django/core/management/base.py", line 255, in execute
     output = self.handle(*args, **options)
   File "/Users/michisu/VirtualEnvs/ppf/lib/python2.7/site-
 packages/django/contrib/auth/management/commands/createsuperuser.py", line
 87, in handle
     raw_value = input(input_msg + ': ')
 UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6:
 ordinal not in range(128)
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19725#comment:2>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to