Changes between Version 1 and Version 2 of Ticket #33061, comment 4
- Timestamp:
- Aug 26, 2021, 11:38:00 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33061, comment 4
v1 v2 22 22 return val 23 23 }}} 24 25 Also, [https://docs.djangoproject.com/en/3.2/topics/cache/#django.core.caches.cache.incr here] is where it's documented in the Django docs that `incr()` / `decr()` should raise `ValueError` when a key is missing: 26 27 > A ValueError will be raised if you attempt to increment or decrement a nonexistent cache key.: 28 29