Changes between Version 1 and Version 2 of Ticket #33061, comment 4


Ignore:
Timestamp:
Aug 26, 2021, 11:38:00 PM (3 years ago)
Author:
Chris Jerdonek

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33061, comment 4

    v1 v2  
    2222    return val
    2323}}}
     24
     25Also, [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
Back to Top