edx Django RemovedInDjango19Warning

时间:2016-01-18 23:02:44

标签: django django-models edx openedx

我在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

由于

1 个答案:

答案 0 :(得分:0)

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

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