You just use the logging module methods and DjDT will intercept and display them in the Logging Panel.
import logging
logging.debug('Debug Message')
if some_error:
logging.error('Error Message')
You just use the logging module methods and DjDT will intercept and display them in the Logging Panel.
import logging
logging.debug('Debug Message')
if some_error:
logging.error('Error Message')