Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.

This commit is contained in:
Hasan Ramezani 2019-11-21 10:54:05 +01:00 committed by Mariusz Felisiak
parent 5032556483
commit f69b32782e
1 changed files with 3 additions and 0 deletions

View File

@ -471,6 +471,9 @@ Miscellaneous
with several third-party apps that had models in tests without migrations.
You must add migrations for such models.
* Providing an integer in the ``key`` argument of the :meth:`.cache.delete` or
:meth:`.cache.get` now raises :exc:`ValueError`.
.. _deprecated-features-2.2:
Features deprecated in 2.2