680
663
can be pickled; refer to the Python documentation for more information about
683
671
The cache module, ``django.core.cache``, has a ``cache`` object that's
684
672
automatically created from the ``'default'`` entry in the :setting:`CACHES`
687
675
>>> from django.core.cache import cache
689
689
The basic interface is ``set(key, value, timeout)`` and ``get(key)``::
691
691
>>> cache.set('my_key', 'hello, world!', 30)