1.直接使用python manage.py runserver 运行,是可以登录的
2.但是使用uwsgi和 nginx部署的时候,就出现了下面的我问题。
请问,是uwsgi.ini 或 nginx.conf 的配置问题,还是 django python 版本问题,或者是其他我没有注意到的问题?
AttributeError at /
'MisagoACLDebugPanel' object has no attribute 'context'
Request Method: GET
Request URL:
http://127.0.0.1/
Django Version: 1.6.4
Exception Type: AttributeError
Exception Value:
'MisagoACLDebugPanel' object has no attribute 'context'
Exception Location: ./misago/acl/panels.py in content, line 25
Python Executable: /usr/local/bin/uwsgi
Python Version: 2.7.6
Python Path:
['.',
'',
'/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg',
'/Library/Python/2.7/site-packages/setuptools-8.0.2-py2.7.egg',
'/usr/lib/python27.zip',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-darwin',
'/usr/lib/python2.7/plat-mac',
'/usr/lib/python2.7/plat-mac/lib-scriptpackages',
'/usr/Extras/lib/python',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/Library/Python/2.7/site-packages',
'Users/herrdu/sites/xiabanzhihou/Misago/']
Server time: Ф≤÷Ф°÷Д╨▄, 9 Е┘╜Ф°┬ 2015 10:43:41 +0000