File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/cache.tar
Back
__pycache__/__init__.cpython-310.pyc 0000644 00000003735 15030004302 0013207 0 ustar 00 o �h� � @ s� d Z ddlmZ ddlmZmZmZmZ ddlm Z m Z ddlmZ g d�Z dZG dd � d e �Ze� Ze ee�Zd d� Zej�e� dS ) a Caching framework. This package defines set of cache backends that all conform to a simple API. In a nutshell, a cache is a set of values -- which can be any object that may be pickled -- identified by string keys. For the complete API, see the abstract BaseCache class in django.core.cache.backends.base. Client code should use the `cache` variable defined here to access the default cache backend and look up non-default cache backends in the `caches` dict-like object. See docs/topics/cache.txt for information on the public API. � )�signals)� BaseCache�CacheKeyWarning�InvalidCacheBackendError�InvalidCacheKey)�BaseConnectionHandler�ConnectionProxy)� import_string)�cache�caches�DEFAULT_CACHE_ALIASr r r r �defaultc @ s e Zd ZdZeZdd� ZdS )�CacheHandler�CACHESc C sf | j | �� }|�d�}|�dd�}zt|�}W n ty- } z td||f �|�d }~ww |||�S )N�BACKEND�LOCATION� zCould not find backend '%s': %s)�settings�copy�popr �ImportErrorr )�self�alias�params�backend�location�backend_cls�e� r �M/usr/local/CyberCP/lib/python3.10/site-packages/django/core/cache/__init__.py�create_connection* s ���� zCacheHandler.create_connectionN)�__name__� __module__�__qualname__� settings_namer �exception_classr r r r r r &