Skip to content

Don't blow up if INSTALLED_APPS is a tuple #238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2011
Merged

Don't blow up if INSTALLED_APPS is a tuple #238

merged 1 commit into from
Nov 30, 2011

Conversation

lamby
Copy link
Contributor

@lamby lamby commented Nov 30, 2011

Since r17158 in Django trunk, INSTALLED_APPS is now not always co-erced to
a list. In my projects I prefer to have INSTALLED_APPS as a tuple as it
reinforces that it is not modifiable at runtime. However, this blows up
in the VersionDebugPanel as it currently assumes it is a list.

Signed-off-by: Chris Lamb lamby@debian.org

Since r17158 in Django trunk, INSTALLED_APPS is now not always co-erced to
a list. In my projects I prefer to have INSTALLED_APPS as a tuple as it
reinforces that it is not modifiable at runtime. However, this blows up
in the VersionDebugPanel as it currently assumes it is a list.

Signed-off-by: Chris Lamb <lamby@debian.org>
dcramer added a commit that referenced this pull request Nov 30, 2011
Don't blow up if INSTALLED_APPS is a tuple
@dcramer dcramer merged commit b8ea435 into django-commons:master Nov 30, 2011
ryneeverett pushed a commit to ryneeverett/django-debug-toolbar that referenced this pull request Oct 2, 2016
Don't blow up if INSTALLED_APPS is a tuple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants