A decorator for memoizing python functions using Django cache backend.