Refs #27753 -- Removed django.utils.lru_cache.

This commit is contained in:
Tim Graham 2019-02-04 19:40:07 -05:00
parent 6d2ae49f25
commit c679f357a8
2 changed files with 3 additions and 5 deletions

View File

@ -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.

View File

@ -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
-------------