mirror of
https://github.com/django/django.git
synced 2025-08-18 17:50:58 +00:00
[1.6.x] Fixed #21627 -- Added unicode_literals to changepassword command.
Fixed a crash when executing changepassword command when the user object
representation contained non-ASCII characters.
Backport of 398642fd9b
from master
This commit is contained in:
parent
b536ad09ca
commit
0e8138349e
3 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import getpass
|
||||
from optparse import make_option
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue