Python social auth 当我从django 1.8更新到1.11.13关系时,我得到了错误;社交“授权用户社交授权”;不存在

Python social auth 当我从django 1.8更新到1.11.13关系时,我得到了错误;社交“授权用户社交授权”;不存在,python-social-auth,django-socialauth,django-1.11,Python Social Auth,Django Socialauth,Django 1.11,最近我将django从1.8更新到1.11.13。我的应用程序在django 1.8上运行得非常好。但当我更新时,它抛出了以下错误: django.db.utils.ProgrammingError:关系“social\u auth\u usersocialauth”不存在 我正在使用以下版本 python-social-auth==0.3.6 social-auth-app-django==2.1.0 social-auth-core==1.7.0 这是stacktrace 错误内部服务器错

最近我将django从1.8更新到1.11.13。我的应用程序在django 1.8上运行得非常好。但当我更新时,它抛出了以下错误:

django.db.utils.ProgrammingError:关系“social\u auth\u usersocialauth”不存在

我正在使用以下版本

python-social-auth==0.3.6
social-auth-app-django==2.1.0
social-auth-core==1.7.0
这是stacktrace

错误内部服务器错误:/account/settings/
回溯(最近一次呼叫最后一次):
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/db/backends/utils.py”,第64行,在execute中
返回self.cursor.execute(sql,params)
psycopg2.ProgrammingError:关系“social\u auth\u usersocialauth”不存在
第1行:“…”,“社交授权用户社交授权”。“社交授权”中的“额外数据”。。。

上述异常是以下异常的直接原因:

回溯(最近一次呼叫最后一次):
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/core/handlers/exception.py”,第41行,内部
响应=获取响应(请求)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/core/handlers/base.py”,第249行,在“legacy\u get\u response”中
响应=自我。获取响应(请求)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/core/handlers/base.py”,第217行,在“获取”响应中
response=self.process\u异常\u由\u中间件(e,请求)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/core/handlers/base.py”,第215行,在“获取”响应中
response=response.render()
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/response.py”,第107行,呈现
self.content=自渲染内容
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/response.py”,第84行,呈现内容
content=template.render(上下文、self.\u请求)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/backends/django.py”,第66行,呈现
返回self.template.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第207行,呈现
返回self.\u呈现(上下文)
文件“/Users/sajidur/Coding/socialUnders/sf/venv3/lib/python3.5/site packages/django/test/utils.py”,第107行,仪表化测试渲染
返回self.nodelist.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第990行,在render中
位=节点。带注释的渲染(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第957行,带注释
返回self.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/loader_tags.py”,第177行,呈现
返回编译的\u父对象。\u呈现(上下文)
文件“/Users/sajidur/Coding/socialUnders/sf/venv3/lib/python3.5/site packages/django/test/utils.py”,第107行,仪表化测试渲染
返回self.nodelist.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第990行,在render中
位=节点。带注释的渲染(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第957行,带注释
返回self.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/loader_tags.py”,第177行,呈现
返回编译的\u父对象。\u呈现(上下文)
文件“/Users/sajidur/Coding/socialUnders/sf/venv3/lib/python3.5/site packages/django/test/utils.py”,第107行,仪表化测试渲染
返回self.nodelist.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第990行,在render中
位=节点。带注释的渲染(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第957行,带注释
返回self.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/defaulttags.py”,第411行,呈现
返回\u标记(self.nodelist.render(context.strip())之间的strip\u空格\u
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第990行,在render中
位=节点。带注释的渲染(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第957行,带注释
返回self.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/loader_tags.py”,第72行,呈现
结果=block.nodelist.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第990行,在render中
位=节点。带注释的渲染(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第957行,带注释
返回self.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/loader_tags.py”,第72行,呈现
结果=block.nodelist.render(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第990行,在render中
位=节点。带注释的渲染(上下文)
文件“/Users/sajidur/Coding/socialfunds/sf/venv3/lib/python3.5/site packages/django/template/base.py”,第957行,带注释
返回self.render(上下文)
文件“/Users/sajidur/Coding/socia