Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pelletier/django-verbosecache
A dummy cache backend for Django, but verbose
https://github.com/pelletier/django-verbosecache
Last synced: 25 days ago
JSON representation
A dummy cache backend for Django, but verbose
- Host: GitHub
- URL: https://github.com/pelletier/django-verbosecache
- Owner: pelletier
- Created: 2012-04-17T08:41:26.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-17T08:57:06.000Z (over 12 years ago)
- Last Synced: 2024-05-08T17:40:17.545Z (6 months ago)
- Language: Python
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-verbosecache
`django-verbosecache` is a dummy cache backend for Django, but verbose. It
will just print which methods of the backend are called, and the provided
arguments.## Set up
Copy the `verbose_cache.py` file in the root of your Django project (for
example), and ajust your settings:CACHES = {
'default': {
'BACKEND': 'verbose_cache.VerboseCache',
}
}## Example output
[CACHE] get called with:
(,
'views.decorators.cache.cache_header..6666cd76f96956469e7be39d750cc7d9.en-us.notmobile',
None)
{}
Output: None