django-cachalot
django-cachalot copied to clipboard
No effort, no worry, maximum performance.
## What happened? Incompatibility between django-cachalot and django 4.1 on install: ``` Because django-cachalot (2.5.1) depends on Django (>=2.2,2.5.1,=2.5.1,=2.2,
## Description Currently, Django's `TextChoices` property `__class__` indicates it's enum-like ```python >>> class MockTextChoices(models.TextChoices): ... foo="foo" ... bar="bar" ... >>> MockTextChoices.foo MockTextChoices.foo >>> MockTextChoices.foo.__class__ ``` And it's perfectly fine to...
## What happened? When setting `CACHALOT_ENABLED = False` but adding `cachalot.panels.CachalotPanel` panel in the `DEBUG_TOOLBAR_PANELS` variable, it acts like `CACHALOT_ENABLED` was `True` ## What should've happened instead? Adding `cachalot.panels.CachalotPanel` should...
## Description [//]: # (What are you proposing and how would we implement it?) I have a use case where I need to cache a particular request before the user...
Cachalot appears to impact fixture loading (for test cases) somehow, I think perhaps for fixtures with no PK specified, or with "pk": null. Fixture loading works as expected with cachalot...
Not sure if this is too specific to be merged in django-cachalot, but posting it here in case it may be useful to anybody. [django-tenants](https://github.com/tomturner/django-tenants) makes use of postgres schemas...
Hello guys, I've setup cachalot on my project. I use then this script to compare the perf: ```bash SQUEST_HOST=127.0.0.1 SQUEST_PORT=8000 LOGIN_URL="http://${SQUEST_HOST}:${SQUEST_PORT}/accounts/login/" INSTANCE_LIST_URL="http://${SQUEST_HOST}:${SQUEST_PORT}/ui/service_catalog/instance/" YOUR_USER='admin' YOUR_PASS='admin' COOKIES=/home/nico/Documents/squest/cookies.txt CURL_BIN="curl -c $COOKIES -b $COOKIES...
## Description [//]: # (Describe what you are implementing and how, if possible) Django added the Redis backend to Django core. ## Rationale We already test the third party Redis...
Running parallel unit tests in Django breaks when using Cachalot 2.1.0. ``` Traceback (most recent call last): File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.6/unittest/case.py", line 601, in run...
This issue is linked to the "Integrating Architect with Cachalot" project. This project is meant to help integrate dynamic table caching. - [ ] Add functionality to cache tables in...