Refs #27753 -- Removed django.utils.decorators.ContextDecorator alias.
This commit is contained in:
parent
41384812ef
commit
9a750cbd5c
|
@ -1,7 +1,5 @@
|
|||
"Functions that help with dynamically creating decorators for views."
|
||||
|
||||
# For backwards compatibility in Django 2.0.
|
||||
from contextlib import ContextDecorator # noqa
|
||||
from functools import partial, update_wrapper, wraps
|
||||
|
||||
|
||||
|
|
|
@ -257,6 +257,9 @@ Django 3.0, we're removing these APIs at this time.
|
|||
* ``django.utils.decorators.available_attrs()`` - This function returns
|
||||
``functools.WRAPPER_ASSIGNMENTS``.
|
||||
|
||||
* ``django.utils.decorators.ContextDecorator`` - Alias of
|
||||
:class:`contextlib.ContextDecorator`.
|
||||
|
||||
* ``django.utils._os.abspathu()`` - Alias of :func:`os.path.abspath`.
|
||||
|
||||
* ``django.utils._os.upath()`` and ``npath()`` - These functions do nothing on
|
||||
|
|
Loading…
Reference in New Issue