我正在尝试安装 django-filer。但是当我运行时,manage.py migrate
我得到AttributeError: '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',
...
]