From 2359b2e61d4f6018049042b3213a91af2b4db9fc Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sun, 8 Dec 2013 23:47:30 +0100 Subject: Actual show the number of used static files in panel title. --- debug_toolbar/panels/staticfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug_toolbar/panels/staticfiles.py') diff --git a/debug_toolbar/panels/staticfiles.py b/debug_toolbar/panels/staticfiles.py index 9b3829d..791cbbc 100644 --- a/debug_toolbar/panels/staticfiles.py +++ b/debug_toolbar/panels/staticfiles.py @@ -75,7 +75,7 @@ class StaticFilesPanel(panels.Panel): @property def title(self): - return (_("Static files (%(num_found)s found)") % + return (_("Static files (%(num_found)s found, %(num_used)s used)") % {'num_found': self.num_found, 'num_used': self.num_used}) def __init__(self, *args, **kwargs): -- cgit v1.2.3