Skip to content

Fix for error 'Settings' object has no attribute 'DATABASE_ENGINE' (#208) #222

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
Oct 9, 2011
Merged

Conversation

pzinovkin
Copy link

Error on fresh installed master while trying to view query explain:

lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "lib/python2.7/site-packages/debug_toolbar/views.py" in sql_explain
  85.         if settings.DATABASE_ENGINE == "sqlite3":
File "lib/python2.7/site-packages/django/utils/functional.py" in inner
  173.         return func(self._wrapped, *args)

Exception Type: AttributeError at /__debug__/sql_explain/
Exception Value: 'Settings' object has no attribute 'DATABASE_ENGINE'

dcramer added a commit that referenced this pull request Oct 9, 2011
Fix for error 'Settings' object has no attribute 'DATABASE_ENGINE' (#208)
@dcramer dcramer merged commit f9679aa into django-commons:master Oct 9, 2011
ryneeverett pushed a commit to ryneeverett/django-debug-toolbar that referenced this pull request Oct 2, 2016
Fix for error 'Settings' object has no attribute 'DATABASE_ENGINE' (django-commons#208)
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