South migration for social auth

后端 未结 2 388
深忆病人
深忆病人 2021-01-28 08:07

I am using south in my django project. I just added social_auth in settings.py, when i run this command: python manage.py schemamigration social_auth --auto

It says:

2条回答
  •  日久生厌
    2021-01-28 08:41

    I don't think you need to generate migrations for social_auth, since this app should already have its migrations. Rather, you need to execute them, so after you added 'social_auth' in your settings you have to run only this command:

    python manage.py migrate social_auth
    

提交回复
热议问题