1

我在 RemovedInDjango19Warning 上的 open edx 中遇到了 django 错误。我想知道是否有人知道如何修复它们?

2016-01-18 17:58:04,541 WARNING 3543 [py.warnings] base.py:116 - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/oauth_provider/models.py:73: RemovedInDjango19Warning: Model class oauth_provider.models.Token doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class Token(models.Model):

/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/require/helpers.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
  from django.utils.importlib import import_module

2016-01-18 17:58:11,199 WARNING 3543 [py.warnings] importlib.py:9 - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/require/helpers.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
  from django.utils.importlib import import_module

谢谢

4

1 回答 1

0

这些只是警告,您现在可以忽略它们。我们将清理代码以防止它们。

Open edX 最近从 Django 1.4 迁移到 Django 1.8。升级您的安装不是一件简单的事情。我们将能够在邮件列表中为您提供更好的支持:https ://groups.google.com/forum/#!forum/edx-code

于 2016-01-19T10:09:00.780 回答