Skip to content

Commit 1208033

Browse files
committed
Merge pull request #162 from thinred/master
Python version in versions panel
2 parents a350f94 + 89c2e96 commit 1208033

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

debug_toolbar/panels/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def title(self):
3030

3131
def content(self):
3232
versions = {}
33+
versions['Python'] = '%d.%d.%d' % sys.version_info[:3]
3334
for app in settings.INSTALLED_APPS + ['django']:
3435
name = app.split('.')[-1].replace('_', ' ').capitalize()
3536
__import__(app)

0 commit comments

Comments
 (0)