Metadata-Version: 2.1
Name: django-requests-cache
Version: 0.1.6
Summary: Django Cache.
Home-page: https://github.com/davidsanfal/django-requests-cache
Author: davidsanfal
License: UNKNOWN
Keywords: django cache,redis,cache
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Documentation
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Provides-Extra: test
Provides-Extra: dev
Requires-Dist: Django (==2.0)
Requires-Dist: redis (==2.10.6)
Provides-Extra: dev
Requires-Dist: check-manifest; extra == 'dev'
Provides-Extra: test
Requires-Dist: coverage; extra == 'test'

=====
Django request cache
=====

Middlewares:
-----------

 - CacheMiddleware


Use:
----

.. code-block:: python

   # settings.py
   INSTALLED_APPS = [
       # .
       # .
       # .
       "cache.apps.CacheConfig"
   ]


   MIDDLEWARE = [
       'cache.middleware.CacheMiddleware',
       # .
       # .
       # .
   ]

   REDIS_HOST = 'localhost'
   REDIS_PORT = 6379
   REDIS_DB = 0
   REDIS_EXPIRE = 600


