我正在使用 django==1.6。我安装了 python-social-auth 用于社交身份验证。但是当我尝试迁移数据库时,我收到了这个错误。
from django.db import models, migrations
ImportError: cannot import name migrations
我尝试安装旧版本的 python-social-auth 但仍然存在此错误。我应该怎么做才能解决这个问题。帮助将不胜感激。
我正在使用 django==1.6。我安装了 python-social-auth 用于社交身份验证。但是当我尝试迁移数据库时,我收到了这个错误。
from django.db import models, migrations
ImportError: cannot import name migrations
我尝试安装旧版本的 python-social-auth 但仍然存在此错误。我应该怎么做才能解决这个问题。帮助将不胜感激。