Metadata-Version: 2.1
Name: django-sentinel
Version: 0.1.0
Summary: Plugin for django-redis that supports Redis Sentinel
Home-page: https://github.com/lamoda/django-sentinel
Author: Aleksey Partilov
Author-email: aleksey.partilov@lamoda.ru
License: UNKNOWN
Description: [![Travis Status](https://travis-ci.org/lamoda/django-sentinel.svg?style=flat)](https://travis-ci.org/lamoda/django-sentinel)
        
        # django-sentinel
        Plugin for django-redis that supports Redis Sentinel. This is fork of [KabbageInc/django-redis-sentinel](https://github.com/KabbageInc/django-redis-sentinel) deprecated project.
        
        # Installation
        
        ```
        pip install django-sentinel
        ```
        
        # Usage
        
        Location format: master_name/sentinel_server:port,sentinel_server:port/db_id
        
        In your settings, do something like this:
        
        ```
            CACHES = {
                "default": {
                    "BACKEND": "django_redis.cache.RedisCache",
                    "LOCATION": "redis_master/sentinel-host1:2639,sentinel-host2:2639/0"
                    "OPTIONS": {
                        "PASSWORD": 's3cret_passw0rd!',
                        "CLIENT_CLASS": "django_sentinel.SentinelClient",
                    }
                }
            }
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
