mirror of
https://github.com/Hopiu/django.git
synced 2026-05-05 06:04:45 +00:00
Imported copyreg from six.moves
This commit is contained in:
parent
800513e7f3
commit
fd961941cc
1 changed files with 1 additions and 5 deletions
|
|
@ -4,11 +4,7 @@ from functools import wraps
|
|||
import sys
|
||||
|
||||
from django.utils import six
|
||||
|
||||
try:
|
||||
import copyreg
|
||||
except ImportError:
|
||||
import copy_reg as copyreg
|
||||
from django.utils.six.moves import copyreg
|
||||
|
||||
|
||||
# You can't trivially replace this with `functools.partial` because this binds
|
||||
|
|
|
|||
Loading…
Reference in a new issue