2016-05-10 11 views
0

私のアプリでsocial authのすべてを設定しましたが、localhostで動作します。 HerokuのをPythonとの移行問題HerokuのSocial Auth(Djangoアプリ)

relation "social_auth_usersocialauth" does not exist 
LINE 1: ..._admin", "custom_user_customuser"."is_staff" FROM "social_au... 

私はのpython manage.pyのmakemigrationsを試してみたし、その後:今、私はHerokuのにデプロイしようとしているが、私は(例えば)Facebookでログインしようとすると、私はこのエラーを取得しますpython manage.py migrateを実行しますが、機能しません。私は火「移行」とき、私はこれを取得:

Your models have changes that are not yet reflected in a migration, and so won't be applied. 
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them. 
+0

あなたが./manage.py makemigrationsを行う必要がありますが – e4c5

+0

をsocialauth私は "取得しますApp 'socialauth'が見つかりませんでした。INSTALLED_APPSにありますか? " –

+0

あなたの問題があります。あなたは社会的な認証を使用している場合は、それにする必要があります! – e4c5

答えて

0

これは、Python社会的-AUTHのためのアプリ名の変更を行うことです - >社会のauth-APP-ジャンゴと関連するアプリのラベルの変更。あなたはsocialauthアプリ-ジャンゴする> = 1.0.0をこの問題を解決するためにアップグレードする必要が

Your models have changes that are not yet reflected in a migration, and so won't be applied.

関連する問題