Re: [Django] #19725: `createsuperuser` command fails with custom User model

2013-02-08 Thread Django
#19725: `createsuperuser` command fails with custom User model
-+--
 Reporter:  michisu  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  contrib.auth |  Version:  1.5-beta-1
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+--

Comment (by Claude Paroz ):

 In [changeset:"f5232597ea31bf274b02983f32ba89be4f7bf02b"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f5232597ea31bf274b02983f32ba89be4f7bf02b"
 [1.5.x] Fixed #19725 -- Made createsuperuser handle non-ascii prompts

 Thanks Michisu for the report.
 Backport of 55c585f1c from master.
 }}}

-- 
Ticket URL: 
Django 
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.




Re: [Django] #19725: `createsuperuser` command fails with custom User model

2013-02-04 Thread Django
#19725: `createsuperuser` command fails with custom User model
-+--
 Reporter:  michisu  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  contrib.auth |  Version:  1.5-beta-1
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+--

Comment (by Claude Paroz ):

 In [changeset:"f5232597ea31bf274b02983f32ba89be4f7bf02b"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f5232597ea31bf274b02983f32ba89be4f7bf02b"
 [1.5.x] Fixed #19725 -- Made createsuperuser handle non-ascii prompts

 Thanks Michisu for the report.
 Backport of 55c585f1c from master.
 }}}

-- 
Ticket URL: 
Django 
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.




Re: [Django] #19725: `createsuperuser` command fails with custom User model

2013-02-04 Thread Django
#19725: `createsuperuser` command fails with custom User model
-+--
 Reporter:  michisu  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  contrib.auth |  Version:  1.5-beta-1
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+--
Changes (by Claude Paroz ):

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


Comment:

 In [changeset:"55c585f1c7a9c91308193f0648caf36203174564"]:
 {{{
 #!CommitTicketReference repository=""
 revision="55c585f1c7a9c91308193f0648caf36203174564"
 Fixed #19725 -- Made createsuperuser handle non-ascii prompts

 Thanks Michisu for the report.
 }}}

-- 
Ticket URL: 
Django 
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.




Re: [Django] #19725: `createsuperuser` command fails with custom User model

2013-02-03 Thread Django
#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:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+--
Changes (by claudep):

 * severity:  Normal => Release blocker
 * easy:  0 => 1
 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
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.




Re: [Django] #19725: `createsuperuser` command fails with custom User model

2013-02-03 Thread Django
#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: 
Django 
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.




Re: [Django] #19725: `createsuperuser` command fails with custom User model

2013-02-02 Thread Django
#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
--+--
Changes (by claudep):

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


Comment:

 Please run the command with the `--traceback` option so as we can see
 where's the issue.

-- 
Ticket URL: 
Django 
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.




[Django] #19725: `createsuperuser` command fails with custom User model

2013-02-01 Thread Django
#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|   Keywords:
 Triage Stage:  Unreviewed|  Has patch:  0
Easy pickings:  0 |  UI/UX:  0
--+
 If using a custom User model with non-ascii field label, then
 `createsuperuser` command fails.

 {{{
 class MyUser(AbstractBaseUser):

 email = models.EmailField(
 u'メールアドレス', max_length=255, unique=True, db_index=True)
 # ...
 }}}

 {{{
 $ python manage.py createsuperuser
 UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6:
 ordinal not in range(128)
 }}}

-- 
Ticket URL: 
Django 
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.