mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
[py3] Fixed django.utils.six.moves.
It didn't work because six was inside django.utils.
This commit is contained in:
parent
8b01909841
commit
473d5f4ba1
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ for attr in _moved_attributes:
|
|||
setattr(_MovedItems, attr.name, attr)
|
||||
del attr
|
||||
|
||||
moves = sys.modules["six.moves"] = _MovedItems("moves")
|
||||
moves = sys.modules["django.utils.six.moves"] = _MovedItems("moves")
|
||||
|
||||
|
||||
def add_move(move):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue