[INFO] oauth2client.client: Refreshing access_token
[ERROR] django.request: Internal Server Error: /
get_package_libraries
"trying to load '%s': %s" % (entry[1], e)
InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'rest_framework.templatetags.rest_framework': No module named urls
这是一个python2.7项目。Django 1.9版
Django Rest Framework 3.7放弃了对django1.9的支持。在
django1.9已经结束了,不能进行安全修复。您应该真正更新到当前版本2.0(需要Python3)或1.11LTS(支持Python3和Python2)。在
如果必须使用django1.9,则需要使用rest框架的早期版本。在
相关问题 更多 >
编程相关推荐