Skip to content

Instantly share code, notes, and snippets.

@okwrtdsh
Created January 10, 2016 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okwrtdsh/0dd74450a5a13cd2eb47 to your computer and use it in GitHub Desktop.
Save okwrtdsh/0dd74450a5a13cd2eb47 to your computer and use it in GitHub Desktop.

settings.py

LOGGING = {
    'version': 1,
    'handlers': {
        'console':{
            'level': 'DEBUG',
            'class': 'logging.StreamHandler',
        },
    },
    'loggers': {
        'django.db.backends': {
            'handlers': ['console'],
            'level': 'DEBUG',
        },
    },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment