Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #238 from lamby/master

Don't blow up if INSTALLED_APPS is a tuple
  • Loading branch information...
commit b8ea435dd3fc2af702c17b8de93d870d4988e81f 2 parents 005b426 + 5748f9b
@dcramer dcramer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  debug_toolbar/panels/version.py
View
2  debug_toolbar/panels/version.py
@@ -30,7 +30,7 @@ def title(self):
def process_response(self, request, response):
versions = {}
versions['Python'] = '%d.%d.%d' % sys.version_info[:3]
- for app in settings.INSTALLED_APPS + ['django']:
+ for app in list(settings.INSTALLED_APPS) + ['django']:
name = app.split('.')[-1].replace('_', ' ').capitalize()
__import__(app)
app = sys.modules[app]
Please sign in to comment.
Something went wrong with that request. Please try again.