aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics/2.4-accouncement.md
diff options
context:
space:
mode:
authorTom Christie2014-08-20 12:32:24 +0100
committerTom Christie2014-08-20 12:32:24 +0100
commit59b47eac14778767a17e56bd8adc0610417f2878 (patch)
tree8e0a6ea2ca1381122dc3163d293aea121d32b330 /docs/topics/2.4-accouncement.md
parent6ffc97c808f8026c063011e2d048604f3a6b70fa (diff)
downloaddjango-rest-framework-59b47eac14778767a17e56bd8adc0610417f2878.tar.bz2
Fix cache_throttle typo
Diffstat (limited to 'docs/topics/2.4-accouncement.md')
-rw-r--r--docs/topics/2.4-accouncement.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/topics/2.4-accouncement.md b/docs/topics/2.4-accouncement.md
index 50484287..e3f9d57a 100644
--- a/docs/topics/2.4-accouncement.md
+++ b/docs/topics/2.4-accouncement.md
@@ -97,6 +97,17 @@ Here's an example of using the new decorators. Firstly we have a detail-type rou
For more details, see the [viewsets documentation](../api-guide/viewsets.md).
+## Throttle behavior
+
+There's one bugfix in 2.4 that's worth calling out, as it will *invalidate existing throttle caches* when you upgrade.
+
+We've now fixed a typo on the `cache_format` attribute. Previously this was named `"throtte_%(scope)s_%(ident)s"`, it is now `"throttle_%(scope)s_%(ident)s"`.
+
+If you're concerned about the invalidation you have two options.
+
+* Manually pre-populate your cache with the fixed version.
+* Set the `cache_format` attribute on your throttle class in order to retain the previous incorrect spelling.
+
## Other features
There are also a number of other features and bugfixes as [listed in the release notes][2-4-release-notes]. In particular these include: