【问题标题】:djangocms-installer SystemCheckError: System check identified some issuesdjangocms-installer SystemCheckError:系统检查发现了一些问题
【发布时间】:2017-01-03 11:58:54
【问题描述】:

我正在尝试使用 djangocms-installer==0.8.11 安装 Django CMS。

我正在使用 virtualenv,我创建了一个环境,并使用 pip install djangocms-installer 安装了安装程序。如果我运行djangocms -p /my/path my_cms,回答问题后会出现下一个错误:

Database configuration (in URL format) [default sqlite://localhost/project.db]: 
django CMS version (choices: 2.4, 3.0, 3.1, 3.2, 3.3, stable, rc, develop) [default stable]: 
Django version (choices: 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, stable) [default stable]: 
Activate Django I18N / L10N setting; this is automatically activated if more than language is provided (choices: yes, no) [default yes]: 
Install and configure reversion support (choices: yes, no) [default yes]: 
Languages to enable. Option can be provided multiple times, or as a comma separated list. Only language codes supported by Django can be used here: es
Optional default time zone [default America/Bogota]: 
Activate Django timezone support (choices: yes, no) [default yes]: 
Activate CMS permission management (choices: yes, no) [default yes]: 
Use Twitter Bootstrap Theme (choices: yes, no) [default no]: yes
Use custom template set [default no]: 
Load a starting page with examples after installation (english language only). Choose "no" if you use a custom template set. (choices: yes, no) [default no]:  
Creating the project
Please wait while I install dependencies
Dependencies installed
Creating the project
SystemCheckError: System check identified some issues:

ERRORS:
djangocms_video.VideoPlayer.poster: (fields.E300) Field defines a relation with model 'Image', which is either not installed, or is abstract.
djangocms_video.VideoSource.source_file: (fields.E300) Field defines a relation with model 'File', which is either not installed, or is abstract.
djangocms_video.VideoTrack.src: (fields.E300) Field defines a relation with model 'File', which is either not installed, or is abstract.
The installation failed.
Do you want to clean up by removing /my/path/cms?
    Warning: this will delete all files in:
        /my/path/cms
Do you want to cleanup? [y/N]

【问题讨论】:

    标签: django django-cms


    【解决方案1】:

    根据文档(http://docs.django-cms.org/en/release-3.3.x/introduction/install.html),需要使用 -f 选项安装 django-filler:

    djangocms -f -p /py/path mycms
    

    也许,错误信息不清楚。

    【讨论】:

      猜你喜欢
      • 2021-01-13
      • 2022-08-21
      • 2017-03-14
      • 1970-01-01
      • 2010-12-06
      • 1970-01-01
      • 2018-01-20
      • 1970-01-01
      • 2023-02-09
      相关资源
      最近更新 更多