Python 安装django数据库日志

Python 安装django数据库日志,python,django,Python,Django,我试图通过运行python setup.py install从这里安装django db log,但由于某种原因,当我将应用程序添加到settings.py文件时,它无法工作。下面是我得到的错误: Request Method: GET Request URL: http://localhost:8000/admin/ Django Version: 1.3.1 Exception Type: ImportError Exception Value: ca

我试图通过运行
python setup.py install
从这里安装django db log,但由于某种原因,当我将应用程序添加到settings.py文件时,它无法工作。下面是我得到的错误:

Request Method:     GET
Request URL:    http://localhost:8000/admin/
Django Version:     1.3.1
Exception Type:     ImportError
Exception Value:    

cannot import name Paginator

Exception Location:     /Library/Python/2.6/site-packages/django/utils/importlib.py in import_module, line 35
Python Executable:  /usr/bin/python
Python Version:     2.6.1
Python Path:    

['/Users/christopherfarm/Desktop/ecomstore',
 '/Library/Python/2.6/site-packages/python_dateutil-1.5-py2.6.egg',
 '/Library/Python/2.6/site-packages/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg',
 '/Library/Python/2.6/site-packages/django_db_log-2.2.1-py2.6.egg',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
 '/Library/Python/2.6/site-packages',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']

Server time:    

从django db日志的项目页面:

This project is no longer updated. Please see http://github.com/dcramer/django-sentry for its successor

因此,我简单地假设,由于各种不推荐,该项目与Django-1.3.1不兼容…

我无法继续安装它吗?@cfarm54:要么使用较旧的Django版本,要么尝试修复它,使其与较新的Django一起工作。不过,我还是觉得你应该试试django哨兵。你也可以问作者这个项目被放弃的原因是什么。