我已经安装了 djcelery,它似乎安装正确:
In [1]: from djcelery import models
In [2]: models.PeriodicTask
Out[2]: djcelery.models.PeriodicTask
但是,当我访问管理站点时,我收到此错误,这似乎暗示 djcelery 存在问题。我怀疑这与我的设置有关。错误的详细信息如下。有人看过这个或有什么想法吗?
AttributeError at /admin/
'module' object has no attribute 'PeriodicTask'
Request Method: GET
Django Version: 1.4
Exception Type: AttributeError
Exception Value:
'module' object has no attribute 'PeriodicTask'
Exception Location: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py in import_module, line 37
Python Version: 2.7.1