diff options
| author | Jannis Leidel | 2013-12-08 23:47:30 +0100 |
|---|---|---|
| committer | Jannis Leidel | 2013-12-08 23:47:30 +0100 |
| commit | 2359b2e61d4f6018049042b3213a91af2b4db9fc (patch) | |
| tree | d0ee6ca3965b8a8f68e65fae33dfc817526c5b06 /debug_toolbar | |
| parent | 184992f2d5773016e2c8315c91acbf8f601775bf (diff) | |
| download | django-debug-toolbar-2359b2e61d4f6018049042b3213a91af2b4db9fc.tar.bz2 | |
Actual show the number of used static files in panel title.
Diffstat (limited to 'debug_toolbar')
| -rw-r--r-- | debug_toolbar/panels/staticfiles.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
