django错误:TypeError: __init__() missing 1 required positio
发布时间:2020-12-15 17:14:00 所属栏目:大数据 来源:网络整理
导读:背景: django版本:2.1.0 使用了social_django模块。 django?错误提示: TypeError:?__init__()?missing?1?required?positional?argument:?'strategy' setting.py文件 INSTALLED_APPS?=?[????'django.contrib.admin',????'django.contrib.auth',????'django
背景:
django?错误提示: TypeError:?__init__()?missing?1?required?positional?argument:?'strategy' setting.py文件 INSTALLED_APPS?=?[ ????'django.contrib.admin',????'django.contrib.auth',????'django.contrib.contenttypes',????'django.contrib.sessions',????'django.contrib.messages',????'django.contrib.staticfiles',????'django.contrib.sites',????#?'social_django',]???? ??? AUTHENTICATION_BACKENDS?=?( ????'django.contrib.auth.backends.ModelBackend',????'social_core.backends.weibo.WeiboOAuth2',????'social_core.backends.qq.QQOAuth2',????'social_core.backends.weixin.WeixinOAuth2',????'social_core.backends.github.GithubOAuth2',) 解决办法:
|
相关内容
- 大数开方
- BarCode 算法 VB类库 2
- .net – 禁用datagridview中的默认Enter/Return键行为
- Lua中的协同程序——coroutine
- IntelliJ IDEA 创建spring boot 的Hello World 项目(图解)
- 在delphi中Char,PChar,PByte,Byte,String的相互转换示例
- 如何抛出Delphi无法捕获的异常?
- perl – 将字符串和临时数组传递到1行中的sub?
- java – Spring Security的CSRF过滤器的选择性使用
- HttpSessionListener和HttpSessionBindingListener监听sess