Django 1.8 to 1.9 upgrade: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet

前端 未结 1 1127
深忆病人
深忆病人 2021-02-06 13:46

I have a project currently working on Django 1.8. Since 1.9 just released, I thought I would update via pip install django==1.9. However, when running python

相关标签:
1条回答
  • 2021-02-06 14:25

    Try to upgrade django-reversion, today was released 1.10 version with:

    Django 1.9 compatibility (@etianen).

    message from discussion groups https://groups.google.com/forum/#!topic/django-reversion/3AQipnbKaUI

    The latest release of django-reversion (1.10.0) is now available on GitHub and PyPi. This release adds compatibility with Django 1.9.

    Important: This release contains breaking changes. Please review the release notes on GitHub before installing.

    These breaking changes were unfortunately required in order to support Django 1.9. Happily, all you'll need to do is modify your reversion import locations, and everything will continue to work.

    Happy coding!

    0 讨论(0)
提交回复
热议问题