0

django-filer をインストールしようとしています。しかし、実行するmanage.py migrateAttributeError: 'Manager' object has no attribute '_inherited' が発生します。それが何を意味するのかわかりません。(私は Heroku スターター テンプレートhttps://github.com/heroku/heroku-django-templateでこのプロジェクトを開始しました)

最初は JPEG と ZLIB をインストールするのを忘れたのではないかと思っていましたが、私の理解では、これらは Pillow 3.0 以降のデフォルトです。

$ pip freeze
dj-database-url==0.4.1
Django==1.10.4
django-filer==1.2.5
django-mptt==0.8.7
django-polymorphic==1.0.2
easy-thumbnails==2.3
gunicorn==19.6.0
psycopg2==2.6.2
whitenoise==3.2
Pillow==4.0.0

設定.py

INSTALLED_APPS = [
    ...
    'whitenoise.runserver_nostatic',
    'django.contrib.staticfiles',
    'easy_thumbnails',
    'filer',
    'mptt',
     ...
]
4

2 に答える 2