ó
P'—^c           @   s1   d Z  d j e e e  ƒ ƒ Z d e d „ Z d S(   i   i   i    t   .t   defaultc         C   si   d d l  m } | |  } t | d ƒ s8 t d ƒ ‚ n  t | j d ƒ sY t d ƒ ‚ n  | j j | ƒ S(   s7   
    Helper used for obtaining a raw redis client.
    iÿÿÿÿ(   t   cachest   clients*   This backend does not support this featuret
   get_client(   t   django.core.cacheR   t   hasattrt   NotImplementedErrorR   R   (   t   aliast   writeR   t   cache(    (    s7   /tmp/pip-unpacked-wheel-l0XfrS/django_redis/__init__.pyt   get_redis_connection   s    
N(   i   i   i    (   t   VERSIONt   joint   mapt   strt   __version__t   TrueR   (    (    (    s7   /tmp/pip-unpacked-wheel-l0XfrS/django_redis/__init__.pyt   <module>   s   