summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/utils/functional.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py
index 839dd4ef85..5fbafadeda 100644
--- a/django/utils/functional.py
+++ b/django/utils/functional.py
@@ -4,11 +4,7 @@ from functools import wraps, update_wrapper
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 `functools.partial` because this binds to