diff --git a/django/utils/lru_cache.py b/django/utils/lru_cache.py deleted file mode 100644 index f5187ded56..0000000000 --- a/django/utils/lru_cache.py +++ /dev/null @@ -1,5 +0,0 @@ -from functools import lru_cache # noqa - -# Deprecate or remove this module when no supported version of Django still -# supports Python 2. Until then, keep it to allow pluggable apps to support -# Python 2 and Python 3 without raising a deprecation warning. diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index 1c0a7d1f23..14fa129bf2 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -251,6 +251,9 @@ Django 3.0, we're removing these APIs at this time. * ``django.test.utils.patch_logger()`` - Use :meth:`unittest.TestCase.assertLogs` instead. +* ``django.utils.lru_cache.lru_cache()`` - Alias of + :func:`functools.lru_cache`. + Miscellaneous -------------