1
這是Apache2的服務器錯誤日誌:導入錯誤監護人:不能導入名稱註冊
File "/srv/www/maikkma/targetor/env/local/lib/python2.7/site-packages/
south/management/commands/__init__.py", line 10, in <module>
[[email protected]] out:
import django.template.loaders.app_directories
[[email protected]] out:
File "/srv/www/maikkma/targetor/env/local/lib/python2.7/site-packages/
django/template/loaders/app_directories.py", line 25, in <module>
raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
[[email protected]] out:
django.core.exceptions.ImproperlyConfigured:
ImportError guardian: cannot import name register
[[email protected]] out:
Fatal error: run() received nonzero return code 1 while executing!
Requested: /srv/www/maikkma/targetor/env/bin/python
/srv/www/maikkma/targetor/manage.py
migrate --all --no-initial-data --settings=settings.local_settings
Executed: /bin/bash -l -c "cd /srv/www/maikkma/targetor/env/bin/ &&
. /srv/www/maikkma/targetor/env/bin/activate &&
/srv/www/maikkma/targetor/env/bin/python /srv/www/mai$
這Django的守護者是第三方應用程序,我覺得這缺少的寄存器是Django的管理模塊?
我該如何解決這個錯誤?我找不到任何解決方案與谷歌
請使用適當格式的錯誤(編輯器中的「代碼示例」按鈕)。 –