# DjangoCache

* Type: Cache
* Description: Uses production tested caches of the Django Cache Framework.

This store is intended for projects built with Django. It can be used with **any** cache of Django. The configuration of this cache is only an alias to the configuration in Django's project settings.

## *class* `DjangoCache`

Backend: `pyot.stores.djangocache.DjangoCache`

Definitions:

* `__init__`
  * `alias`: `str`

    > The alias of the Django Cache defined in the `CACHES` variable of `settings.py` (specifically these are the dictionary keys of `CACHES`).
  * `expirations`: `Dict[str, int | float | timedelta] = None`
  * `log_level`: `int = 0`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pyot.iann838.com/stores/djangocache.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
