-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
To make this software work on Django 1.3, I had to modify lines 46 & 47 in the cache_incr(self, key) function in ratelimitcache.py:
I changed these two lines:
cache._cache.add(key, '0', time=self.expire_after())
cache._cache.incr(key)
To:
cache.add(key, '0', self.expire_after())
cache.incr(key)
I must say, ratelimitcache is a great idea for throttling certain pages!
Metadata
Metadata
Assignees
Labels
No labels