对于未安装的应用程序的Django异常NoReverseMatch(不再)

时间:2011-10-31 18:31:36

标签: django

我正在开发一个网站,一旦安装了django-bb,但在某些时候我决定不再使用了,所以我“关闭”django-bb评论所有参考代码。到目前为止一切都很好在我的开发机器上,外翻运行正常。但是在服务器机器上,有些东西需要djangobb。我试图删除djangobb的所有文件亲戚,并且我无法摆脱这个异常错误。我已经检查了所有的HTML代码,无法找到任何关于djangobb的调用。

请有人帮忙吗?

File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 280, in run
    self.result = application(self.environ, self.start_response)
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 674, in __call__
    return self.application(environ, start_response)
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 248, in __call__
    response = self.get_response(request)
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/core/handlers/base.py", line 130, in get_response
    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/core/handlers/base.py", line 180, in handle_uncaught_exception
    return callback(request, **param_dict)
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/utils/decorators.py", line 76, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/views/defaults.py", line 31, in server_error
    return http.HttpResponseServerError(t.render(Context({})))
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/template/__init__.py", line 173, in render
    return self._render(context)
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/template/__init__.py", line 167, in _render
    return self.nodelist.render(context)
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/template/__init__.py", line 796, in render
    bits.append(self.render_node(node, context))
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/template/__init__.py", line 809, in render_node
    return node.render(context)
  File "/root/Envs/PolyAssocEnv/lib/python2.6/site-packages/django/template/defaulttags.py", line 385, in render
    raise e
NoReverseMatch: u'djangobb' is not a registered namespace

0 个答案:

没有答案