Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
🧹✨ clear the entire cache or individual caches using the admin or management command.
License
fabiocaccamo/django-cache-cleaner
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
clear the entire cache or individual caches easily using the admin panel or management command.
- Run
pip install django-cache-cleaner
- Add
cache_cleaner
tosettings.INSTALLED_APPS
- Run
python manage.py migrate
- Restart your application server
To clear caches using the admin panel:
- ➡️ Navigate to the
Cache Cleaner / Caches
- ✔️ Check the caches you want to clear
- 🧹 Select "Clear selected caches" from the actions menu
- ✨ Done :)
This package doesn't need any setting.
pythonmanage.pyclear_cache
pythonmanage.pyclear_cachenewsproducts
pythonmanage.pyclear_cache--all
# clone repositorygit clone https://github.com/fabiocaccamo/django-cache-cleaner.git&&cd django-cache-cleaner# create virtualenv and activate itpython -m venv venv&&. venv/bin/activate# upgrade pippython -m pip install --upgrade pip# install requirementspip install -r requirements.txt -r requirements-test.txt# install pre-commit to run formatters and linterspre-commit install --install-hooks# run teststox# orpython runtests.py# orpython -m djangotest --settings"tests.settings"
Released underMIT License.
django-admin-interface
- the default admin interface made customizable by the admin itself. popup windows replaced by modals. 🧙 ⚡django-colorfield
- simple color field for models with a nice color-picker in the admin. 🎨django-extra-settings
- config and manage typed extra settings using just the django admin. ⚙️django-maintenance-mode
- shows a 503 error page when maintenance-mode is on. 🚧 🛠️django-redirects
- redirects with full control. ↪️django-treenode
- probably the best abstract model / admin for your tree based stuff. 🌳python-benedict
- dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. 📘python-codicefiscale
- encode/decode Italian fiscal codes - codifica/decodifica del Codice Fiscale. 🇮🇹 💳python-fontbro
- friendly font operations. 🧢python-fsutil
- file-system utilities for lazy devs. 🧟♂️
About
🧹✨ clear the entire cache or individual caches using the admin or management command.
Topics
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.