DJDT not showing low level caching correctly in Docker
See original GitHub issueHi, I working with DJDT for a few months. I figure out the “not showing” issue in docker, but the data inside the cache panel is not showing properly. The inner data, doesnt match the outer data and in the arguments column it shows addresses or something alike.
A proper data: (taken from an online guide)
(From: https://testdriven.io/blog/django-low-level-cache/#cache-backend)
What it shows inside a Docker:
BTW: It also shows it like a view cache, but the view is not cached (Its a dynamic view) My Configuration:
DEBUG_TOOLBAR_ENABLED = True
if DEBUG and DEBUG_TOOLBAR_ENABLED:
INSTALLED_APPS.append('debug_toolbar')
MIDDLEWARE.insert(0, 'debug_toolbar.middleware.DebugToolbarMiddleware')
MIDDLEWARE.insert(1, 'django.middleware.cache.UpdateCacheMiddleware')
MIDDLEWARE.append('django.middleware.cache.FetchFromCacheMiddleware')
#INTERNAL_IPS.append('127.0.0.1')
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': lambda request: False if request.is_ajax() else True,
}
Does anyone have idea how to solve it ? Where to start ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Cache panel does not update for per-view level caching #718
I'm using the toolbar 1.3 and Django 1.8.2. The toolbar displays fine and the SQL, Time, Headers, Request, Static Files, Templates panels ...
Read more >Django Debug Toolbar - Read the Docs
Django Debug Toolbar, Release 3.7.0. This is the dotted path to a function used for determining whether the toolbar should show or not....
Read more >django-debug-toolbar not showing up - Stack Overflow
If you're using Vagrant, make sure that your INTERNAL_IPS is correct. One way to check is in a view, print your request.META['REMOTE_ADDR'] ,...
Read more >Caching in Django - TestDriven.io
This article first provides an overview of Django's caching framework and then shows how to cache a Django view using both Memcached and ......
Read more >django-cachalot/Lobby - Gitter
Hi, is it possible to use cachalot as a low-level cache as the standard django cache? I would like to store querysets and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the help! There was indeed a bug, but it was unrelated to docker.
No problem, I also tried to figure it out. (reach to “_store_call_info”/“get_cache_key” - It took time to set the debugger …)