Re: cache.set(key, timeout=0)

2015-02-10 Thread Russell Keith-Magee
/en/1.7/topics/cache/#basic-usage > > I don't want to put a lot of "if default_cache_timeout==0: " into my > code. > > It would be nice if django would support this. This would make my code > simpler. > > Does cache.set(key, timeout=0) do no caching at

cache.set(key, timeout=0)

2015-02-10 Thread Thomas Güttler
-usage I don't want to put a lot of "if default_cache_timeout==0: " into my code. It would be nice if django would support this. This would make my code simpler. Does cache.set(key, timeout=0) do no caching at all? If yes, shouldn't this be stated in the docs explicitl