aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/cache.py
AgeCommit message (Collapse)Author
2014-02-13multiply time_taken in cache panel by 1000 not only for total_time, but also ↵kilrogg
for call time
2013-12-09Use collections.OrderedDict if available.Jannis Leidel
2013-12-01Review translated strings.Aymeric Augustin
- Include trailing colons inside translated strings because some languages (eg. French) need a space before the colon. - Normalize capitalization (title-style didn't seem warranted and looked weird in some cases). - Normalize quotes (not very useful, but we had a random mixture of single and double quotes). - Remove msgstr from the English po file because they're identical to msgid by definition.
2013-11-24Update all panels to follow the public API.Aymeric Augustin
2013-11-24Rename all panels consistently.Aymeric Augustin
Enforce absolute imports to avoid clashing with built-in package names. Thanks Jannis for his feedback.
2013-11-16Flat is better than nested.Aymeric Augustin
2013-11-12Move the logic to load panels inside the DebugToolbar class.Aymeric Augustin
This has the additional advantage of eliminating a side-effect that happened at import time unnecessarily. It justified refactoring the way we handle settings and defaults.
2013-11-10Made enable/disable_instrumentation idempotent.Aymeric Augustin
2013-11-10Disable instrumentation for disabled panels.Aymeric Augustin
This eliminates the performance overhead when a panel is disabled.
2013-11-10Pass through attributes lookups in CacheStatTracker.Aymeric Augustin
Fix #439.
2013-11-09Remove unused method in panel API.Aymeric Augustin
2013-10-27Centralize access to config and default values.Aymeric Augustin
2013-10-26Eliminate almost all flake8 messages.Aymeric Augustin
2013-10-17Stopped using dict.iter*.Aymeric Augustin
Since performance isn't a primary concern, the non-iterable versions will do just fine on Python 2.
2013-10-17Enable unicode_literals in all non-empty modules.Aymeric Augustin
2013-10-17Avoid naked except clauses.Aymeric Augustin
2012-05-13Added a repr for the cache wrapper.Jannis Leidel
2012-04-07Updated cache panel to handle multiple backends and look more like the SQL ↵Jannis Leidel
panel. This is based mostly on the awesome work by @diox done in 9aa062bb6c4318aa81c202003ea902249c0071d1. Closes #134.
2012-03-31Removed extended title again from cache panel since the same info is now in ↵Jannis Leidel
the subtitle.
2012-03-31Fixed merge bugs in the cache panel code.Jannis Leidel
2012-03-31Merge branch 'master' of https://github.com/ivirabyan/django-debug-toolbar ↵Jannis Leidel
into ivirabyan-master Conflicts: debug_toolbar/panels/cache.py debug_toolbar/toolbar/loader.py
2012-03-31Made cache panel compatible to cache backend API in Django >= 1.3. Closes ↵Jannis Leidel
#220 and #260.
2012-03-05Use i18n for the cache and SQL panels.Jannis Leidel
2012-01-12pep8David Cramer
2011-09-15Remove any remaining uses of self.__class__ with superbkonkle
2011-09-15Edited all of the panels to use the stats API and not override the content ↵bkonkle
method
2011-09-12Cleaned up whitespace in the SQL and cache panelsbkonkle
2011-09-12Update the cache panel to use the toolbar objectbkonkle
2011-09-10Revert some of the previous changes and modify slightly the panels to ↵Yann Malet
separate the gneration of the stats and the generation of the content.
2011-09-09Revert some of the previous changes and modify slightly the panels to ↵Yann Malet
separate the gneration of the stats and the generation of the content.
2010-01-14Template panel context cleanup.Chris Adams
All panels get a copy of the template context when created and use an updated copy when rendering so they can have full access to context vars and avoid making changes to the shared context. Signed-off-by: Rob Hudson <rob@cogit8.org>
2010-01-14Cleaned up cache panel slightly.Chris Adams
* Removed unused import * .delete() referenced an undefined variable Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-11-18Marked more strings for translation and updated 'fr' locale.David Jean Louis
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-08-12added in-panel titleIdan Gazit
2009-08-12renamed title/subtitle -> nav_title/nav_subtitleIdan Gazit
2008-09-21Refactoring middleware and panels so panels have more explicit middleware-likeRob Hudson
methods to be more clear when panel processing happens.
2008-09-09Adding a `has_content` boolean to panels to avoid issues with checking ifRob Hudson
content exists and displaying it in the templates.
2008-09-08I forgot to really *add* the cache stats panel by David Cramer.Rob Hudson