當我在我的virtualenv運行migrate.py
,我收到以下錯誤:錯誤與aldryn_bootstrap3:字段定義與模型的關係「...」,這是未安裝,或者是抽象的
$ python manage.py migrate aldryn_bootstrap3
CommandError: System check identified some issues:
ERRORS:
aldryn_bootstrap3.Boostrap3ButtonPlugin.link_file: (fields.E300) Field defines a relation with model 'File', which is either not installed, or is abstract.
aldryn_bootstrap3.Boostrap3ImagePlugin.file: (fields.E300) Field defines a relation with model 'Image', which is either not installed, or is abstract.
aldryn_bootstrap3.Bootstrap3CarouselSlideFolderPlugin.folder: (fields.E300) Field defines a relation with model 'Folder', which is either not installed, or is abstract.
aldryn_bootstrap3.Bootstrap3CarouselSlidePlugin.image: (fields.E300) Field defines a relation with model 'Image', which is either not installed, or is abstract.
aldryn_bootstrap3.Bootstrap3CarouselSlidePlugin.link_file: (fields.E300) Field defines a relation with model 'File', which is either not installed, or is abstract.
aldryn_bootstrap3.Bootstrap3FilePlugin.file: (fields.E300) Field defines a relation with model 'File', which is either not installed, or is abstract.
我已在我的settings.py
中添加aldryn_bootstrap3
到INSTALLED_APPS
。
您是否將django-filer添加到安裝的應用程序中? http://django-filer.readthedocs.org/en/latest/installation.html#configuration –
不,我會試試看。是否需要安裝「南」? –
Wohoooo !!有用!!我已經添加了filer並正常遷移! –