seahub.db扩展表,数据库迁移的时候报错


#1

PS C:\SeafileProgram\seafile-server-6.0.7\seahub> python manage.py makemigrations
Traceback (most recent call last): File “manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “C:\Python27\lib\site-packages\django\core\management_init_.py”, line 364, in execute_from_command_line
utility.execute()
File “C:\Python27\lib\site-packages\django\core\management_init_.py”, line 308, in execute
settings.INSTALLED_APPS
File “C:\Python27\lib\site-packages\django\conf_init_.py”, line 56, in getattr
self.setup(name)
File "C:\Python27\lib\site-packages\django\conf_init
.py", line 41, in setup
self.wrapped = Settings(settings_module)
File "C:\Python27\lib\site-packages\django\conf_init
.py", line 110, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "C:\Python27\lib\importlib_init
.py", line 37, in import_module
import(name) File “C:\SeafileProgram\seafile-server-6.0.7\seahub\seahub_init_.py”, line 3, in from handlers import repo_created_cb, repo_deleted_cb
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\handlers.py”, line 4, in
import settings
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\settings.py”, line 10, in
from seaserv import FILE_SERVER_ROOT, FILE_SERVER_PORT, SERVICE_URL
ImportError: No module named seaserv
不知道引用的这个模块有什么问题,如何才能正确地把它进来