mirror of
https://github.com/django/django.git
synced 2025-01-31 20:59:17 +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
@ -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…
x
Reference in New Issue
Block a user