我在 Entertainment_website 包/应用程序中有“context_processors.py”
我配置了settings.py
TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.static",
"django.core.context_processors.tz",
"django.contrib.messages.context_processors.messages",
"entertainment_website.context_processors.load_sidebar_vars")
我想以某种方式调试/打印 context_processors.py 中的值。做这个的最好方式是什么?