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