当我尝试使用命令python manage.py create superuser
时,它显示我错误。任何帮助深表感谢。python manage.py createsuperuser错误导入
ImportError: Could not import 'oauth2_provider.ext.rest_framework.OAuth2Authentication' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'. ImportError: No module named ext.rest_framework.
Ubuntu的16
我们怎么能帮助你没有源代码? – Arount
请参阅https://stackoverflow.com/questions/45029183/could-not-import-oauth2-provider-ext-rest-framework-oauth2authentication-for-a –
尝试使用python manage.py createsuperuser –