[Django]-Django runserver show error stacktrace when DEBUG=False

4👍

Problem was I have logging defined, which overridden the default logging config

Simply adding this to my logging config will show the error in console.

      'django.request': {
          'handlers': ['console'],
          'level': 'ERROR',
          'propagate': True,
      },

Leave a comment