I would like to output debug messages in my django app at different points in a view function. The docs for the django-debug-toolbar say it uses the build in python logging but
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')