1
0
mirror of https://github.com/django/django.git synced 2025-04-06 06:26:41 +00:00

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

Backport of f69b32782e21642c6184162d888fcc17dd1dd85e from master
This commit is contained in:
Hasan Ramezani 2019-11-21 10:54:05 +01:00 committed by Mariusz Felisiak
parent 409cd7b944
commit 6e3ef98413

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