diff options
| author | Aymeric Augustin | 2013-11-24 11:26:07 +0100 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-11-24 11:26:07 +0100 | 
| commit | 908b49cb7d2d527b701996f0d0b9e1e19e765819 (patch) | |
| tree | 545635570f264761d7314aa761cd36d1e6a56f7c /debug_toolbar/toolbar.py | |
| parent | e7692b33ca7fd3f7704d283d6b1368cdea198d59 (diff) | |
| download | django-debug-toolbar-908b49cb7d2d527b701996f0d0b9e1e19e765819.tar.bz2 | |
Rename some settings for clarity and consistency.
Thanks Jannis for his help.
Diffstat (limited to 'debug_toolbar/toolbar.py')
| -rw-r--r-- | debug_toolbar/toolbar.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/debug_toolbar/toolbar.py b/debug_toolbar/toolbar.py index 57ded5b..de9d69d 100644 --- a/debug_toolbar/toolbar.py +++ b/debug_toolbar/toolbar.py @@ -79,7 +79,7 @@ class DebugToolbar(object):          self.store_id = uuid.uuid4().hex          cls = type(self)          cls._store[self.store_id] = self -        for _ in range(len(cls._store) - self.config['RESULTS_CACHE_SIZE']): +        for _ in range(len(cls._store) - self.config['RESULTS_STORE_SIZE']):              # When we drop support for Python 2.6 and switch to              # collections.OrderedDict, use popitem(last=False).              del cls._store[cls._store.keyOrder[0]] | 
