我已将以下模块添加到我的 default_settings.py 中,并且在将 pdf 应用程序添加到我的站点时出现以下错误,允许用户将网页打印为 pdf。
`Exception Value:
Error importing request processor module djangoapp.app.context_processors: "No module named djangoapp.app.context_processors"`
Exception Location: /usr/local/lib/python2.7/dist-packages/django/template/context.py in get_standard_processors, line 84
这是我的默认设置
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.request',
'djangoapp.app.context_processors.media_url',
'convergedsecurity.core.UserMessages.userMessageList',
'convergedsecurity.core.context_processors.standard_navigation_data',
'convergedsecurity.core.context_processors.application_info',
)